Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.426/1.426, allocations: 288.4 MB / 303.6 MB, free: 8.086 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008376/0.0008376, allocations: 185.6 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.241/1.241, allocations: 205.4 MB / 0.631 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007067/0.0007067, allocations: 94.3 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003756, allocations: 13.69 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1776, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.001615/0.1792, allocations: 1.373 MB / 0.9816 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.1807, allocations: 1.21 MB / 0.9827 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002927/0.181, allocations: 8 kB / 0.9827 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001932/0.1812, allocations: 47.52 kB / 0.9828 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.1815, allocations: 43.67 kB / 0.9828 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.1818, allocations: 95.89 kB / 0.9829 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003751/0.1821, allocations: 429 kB / 0.9833 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003181/0.1825, allocations: 255.1 kB / 0.9836 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.1826, allocations: 103.4 kB / 0.9837 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.1827, allocations: 135.1 kB / 0.9838 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.254e-05/0.1827, allocations: 12 kB / 0.9838 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.618e-05/0.1828, allocations: 12 kB / 0.9838 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.086e-05/0.1828, allocations: 59.69 kB / 0.9839 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.093e-05/0.1829, allocations: 176.7 kB / 0.984 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.1832, allocations: 447 kB / 0.9845 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1832, allocations: 0 / 0.9845 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.134e-06/0.1832, allocations: 3.938 kB / 0.9845 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.1832, allocations: 3.938 kB / 0.9845 GB, free: 22.82 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0008695/0.1841, allocations: 0.6901 MB / 0.9852 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1841, allocations: 12.03 kB / 0.9852 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.331e-05/0.1842, allocations: 74.72 kB / 0.9852 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.462e-05/0.1843, allocations: 56.27 kB / 0.9853 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003393/0.1846, allocations: 360.3 kB / 0.9856 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.1847, allocations: 29.38 kB / 0.9857 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/0.1847, allocations: 36.38 kB / 0.9857 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005241/0.1852, allocations: 403.5 kB / 0.9861 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.1853, allocations: 3.938 kB / 0.9861 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.1853, allocations: 16 kB / 0.9861 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.1853, allocations: 8 kB / 0.9861 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004463/0.1857, allocations: 287.8 kB / 0.9864 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.1872, allocations: 1.343 MB / 0.9877 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004835/0.1877, allocations: 246.8 kB / 0.9879 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.1879, allocations: 120.8 kB / 0.988 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.188, allocations: 8 kB / 0.9881 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.188, allocations: 30.56 kB / 0.9881 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=17): time 1.703e-06/0.188, allocations: 3.984 kB / 0.9881 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17): time 0.0005682/0.1886, allocations: 306.1 kB / 0.9884 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.1886, allocations: 106.8 kB / 0.9885 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.189, allocations: 425.4 kB / 0.9889 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.189, allocations: 29.7 kB / 0.9889 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.1891, allocations: 255.8 kB / 0.9892 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.1892, allocations: 59.11 kB / 0.9892 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/0.1892, allocations: 4 kB / 0.9892 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.183e-05/0.1893, allocations: 346.8 kB / 0.9896 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.1895, allocations: 103.9 kB / 0.9897 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.1897, allocations: 210.9 kB / 0.9899 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003545/0.1901, allocations: 269.2 kB / 0.9901 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1901, allocations: 0 / 0.9901 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004821/0.1906, allocations: 357.2 kB / 0.9904 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.055e-05/0.1906, allocations: 152.9 kB / 0.9906 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1906, allocations: 0 / 0.9906 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.1907, allocations: 4 kB / 0.9906 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.1909, allocations: 71.84 kB / 0.9907 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1909, allocations: 4 kB / 0.9907 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.1911, allocations: 75.5 kB / 0.9907 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.1911, allocations: 11.94 kB / 0.9908 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.36e-06/0.1912, allocations: 4 kB / 0.9908 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002628/0.1914, allocations: 232.5 kB / 0.991 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.524e-06/0.1914, allocations: 4 kB / 0.991 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.808e-06/0.1914, allocations: 8.203 kB / 0.991 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.1916, allocations: 55.92 kB / 0.991 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1916, allocations: 7.938 kB / 0.9911 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.1918, allocations: 47.61 kB / 0.9911 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.1918, allocations: 8 kB / 0.9911 GB, free: 15.68 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001445/0.1919, allocations: 237 kB / 0.9913 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.192, allocations: 35.53 kB / 0.9914 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.7e-05/0.1921, allocations: 47.59 kB / 0.9914 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1921, allocations: 0 / 0.9914 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.1921, allocations: 3.938 kB / 0.9914 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1921, allocations: 0 / 0.9914 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008424/0.1929, allocations: 0.7107 MB / 0.9921 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.193, allocations: 0 / 0.9921 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.1931, allocations: 39.97 kB / 0.9921 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.1932, allocations: 11.88 kB / 0.9922 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.1932, allocations: 12 kB / 0.9922 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1932, allocations: 0 / 0.9922 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1932, allocations: 4 kB / 0.9922 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005669/0.1938, allocations: 430.5 kB / 0.9926 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.168e-05/0.1938, allocations: 128.6 kB / 0.9927 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.1939, allocations: 4 kB / 0.9927 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.194, allocations: 27.97 kB / 0.9927 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.114e-05/0.1941, allocations: 7.984 kB / 0.9927 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.1941, allocations: 15.94 kB / 0.9928 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002245/0.1943, allocations: 291.2 kB / 0.993 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1943, allocations: 0 / 0.993 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003863/0.1947, allocations: 127.4 kB / 0.9932 GB, free: 13.46 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007472/0.1955, allocations: 0.9807 MB / 0.9941 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005313/0.196, allocations: 359.9 kB / 0.9945 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.196, allocations: 0 / 0.9945 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.1962, allocations: 91.83 kB / 0.9945 GB, free: 12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005078/0.1967, allocations: 66.28 kB / 0.9946 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.1993, allocations: 2.159 MB / 0.9967 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.1995, allocations: 0.7999 MB / 0.9975 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001352/0.1996, allocations: 47.47 kB / 0.9975 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.1997, allocations: 135.4 kB / 0.9977 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of SimCode: time 4.81e-07/0.1998, allocations: 0 / 0.9977 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.019/0.2188, allocations: 6.623 MB / 1.004 GB, free: 2.273 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/0.219, allocations: 208.1 kB / 1.004 GB, free: 2.035 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.947/2.166, allocations: 2.344 kB / 1.004 GB, free: 2.035 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1)