Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004861/0.004861, allocations: 102.9 kB / 15.73 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 195.2 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.154/1.154, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.358/1.358, allocations: 251.7 MB / 0.5094 GB, free: 3.133 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.91 kB / 0.7258 GB, free: 9.191 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1709, allocations: 104.7 MB / 0.828 GB, free: 380 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003047/0.174, allocations: 2.19 MB / 0.8302 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.1752, allocations: 0.7725 MB / 0.8309 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.1753, allocations: 11.94 kB / 0.8309 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.1755, allocations: 43.53 kB / 0.831 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.491e-05/0.1756, allocations: 35.67 kB / 0.831 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.1758, allocations: 119.8 kB / 0.8311 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.1761, allocations: 320.3 kB / 0.8314 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002463/0.1763, allocations: 152.2 kB / 0.8316 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.1764, allocations: 103.5 kB / 0.8317 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.1765, allocations: 107.5 kB / 0.8318 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.927e-05/0.1766, allocations: 32 kB / 0.8318 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 3.399e-05/0.1766, allocations: 40 kB / 0.8319 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.954e-05/0.1767, allocations: 63.72 kB / 0.8319 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.1768, allocations: 127.3 kB / 0.832 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.1771, allocations: 414.5 kB / 0.8324 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1772, allocations: 0 / 0.8324 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.512e-06/0.1772, allocations: 0 / 0.8324 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.1772, allocations: 0 / 0.8324 GB, free: 11.84 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0007774/0.1779, allocations: 0.5573 MB / 0.833 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.178, allocations: 12.03 kB / 0.833 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.882e-05/0.1781, allocations: 28.56 kB / 0.833 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.1784, allocations: 292.1 kB / 0.8333 GB, free: 10.87 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.1784, allocations: 16.81 kB / 0.8333 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.1785, allocations: 20.38 kB / 0.8333 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004378/0.1789, allocations: 254.8 kB / 0.8336 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.1789, allocations: 0 / 0.8336 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.1789, allocations: 4 kB / 0.8336 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.179, allocations: 8 kB / 0.8336 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004154/0.1794, allocations: 183.8 kB / 0.8338 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.1807, allocations: 1.019 MB / 0.8347 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000533/0.1812, allocations: 190.6 kB / 0.8349 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.1815, allocations: 96.84 kB / 0.835 GB, free: 9 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.1815, allocations: 4 kB / 0.835 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.1815, allocations: 34.56 kB / 0.8351 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.1815, allocations: 0 / 0.8351 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12): time 0.0007302/0.1823, allocations: 229.5 kB / 0.8353 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/0.1823, allocations: 89.05 kB / 0.8354 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.1826, allocations: 258.6 kB / 0.8356 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.1827, allocations: 33.64 kB / 0.8356 GB, free: 8.32 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.1828, allocations: 160 kB / 0.8358 GB, free: 8.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.148e-05/0.1828, allocations: 43.34 kB / 0.8358 GB, free: 8.117 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.779e-05/0.1829, allocations: 33.72 kB / 0.8359 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.183, allocations: 330.8 kB / 0.8362 GB, free: 7.746 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.1832, allocations: 76.81 kB / 0.8363 GB, free: 7.668 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.1835, allocations: 102.9 kB / 0.8364 GB, free: 7.555 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/0.1838, allocations: 154.4 kB / 0.8365 GB, free: 7.395 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1838, allocations: 0 / 0.8365 GB, free: 7.395 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004402/0.1843, allocations: 212.4 kB / 0.8367 GB, free: 7.184 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1843, allocations: 7.938 kB / 0.8367 GB, free: 7.176 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1843, allocations: 8.062 kB / 0.8367 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1843, allocations: 0 / 0.8367 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.1845, allocations: 39.91 kB / 0.8368 GB, free: 7.129 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.1845, allocations: 0 / 0.8368 GB, free: 7.129 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.1846, allocations: 27.81 kB / 0.8368 GB, free: 7.102 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.1846, allocations: 8 kB / 0.8368 GB, free: 7.094 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001974/0.1848, allocations: 156.1 kB / 0.8369 GB, free: 6.938 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001502/0.185, allocations: 88.27 kB / 0.837 GB, free: 6.836 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003521/0.1854, allocations: 134.4 kB / 0.8372 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.32e-07/0.1854, allocations: 4 kB / 0.8372 GB, free: 6.691 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.0003274/0.1857, allocations: 181.3 kB / 0.8373 GB, free: 6.508 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.703e-06/0.1857, allocations: 4 kB / 0.8373 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.1857, allocations: 4 kB / 0.8373 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.128e-06/0.1857, allocations: 3.938 kB / 0.8373 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.1859, allocations: 31.92 kB / 0.8374 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.1859, allocations: 3.938 kB / 0.8374 GB, free: 6.461 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.186, allocations: 27.83 kB / 0.8374 GB, free: 6.434 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.186, allocations: 12.05 kB / 0.8374 GB, free: 6.422 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.1861, allocations: 184.3 kB / 0.8376 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.1862, allocations: 19.75 kB / 0.8376 GB, free: 6.215 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.829e-05/0.1862, allocations: 21.72 kB / 0.8376 GB, free: 6.195 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.1862, allocations: 11.98 kB / 0.8376 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1862, allocations: 0 / 0.8376 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.1862, allocations: 0 / 0.8376 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.1865, allocations: 305.4 kB / 0.8379 GB, free: 5.836 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.1865, allocations: 0 / 0.8379 GB, free: 5.836 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001543/0.1867, allocations: 35.92 kB / 0.838 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.1867, allocations: 7.922 kB / 0.838 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1867, allocations: 0 / 0.838 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1867, allocations: 0 / 0.838 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1867, allocations: 0 / 0.838 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006029/0.1873, allocations: 359.1 kB / 0.8383 GB, free: 5.426 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.526e-05/0.1874, allocations: 96.86 kB / 0.8384 GB, free: 5.312 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.1874, allocations: 11.92 kB / 0.8384 GB, free: 5.301 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.1876, allocations: 11.98 kB / 0.8384 GB, free: 5.289 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.1876, allocations: 11.98 kB / 0.8384 GB, free: 5.277 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.1876, allocations: 4 kB / 0.8384 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000176/0.1878, allocations: 190 kB / 0.8386 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1878, allocations: 4.062 kB / 0.8386 GB, free: 5.086 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003302/0.1882, allocations: 63.69 kB / 0.8387 GB, free: 5.023 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.929e-05/0.1883, allocations: 107.2 kB / 0.8388 GB, free: 4.91 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005436/0.1888, allocations: 223 kB / 0.839 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1888, allocations: 4.062 kB / 0.839 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.189, allocations: 67.95 kB / 0.8391 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.1894, allocations: 48.52 kB / 0.8391 GB, free: 4.578 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006583/0.19, allocations: 421.5 kB / 0.8395 GB, free: 4.145 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.1903, allocations: 0.7401 MB / 0.8402 GB, free: 3.379 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.768e-05/0.1904, allocations: 29.94 kB / 0.8403 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.191e-05/0.1905, allocations: 19.44 kB / 0.8403 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.1905, allocations: 0 / 0.8403 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of Templates: time 0.004706/0.1952, allocations: 2.305 MB / 0.8425 GB, free: 1.047 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)