Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001686/0.001687, allocations: 102.6 kB / 16.4 MB, free: 6.477 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.001264/0.001264, allocations: 193.2 kB / 17.34 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7304/0.7304, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 67.75 kB / 0.5572 GB, free: 32.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1692, allocations: 76.17 MB / 0.6315 GB, free: 4.902 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003967/0.1732, allocations: 1.811 MB / 0.6333 GB, free: 3.078 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004461/0.1737, allocations: 119.6 kB / 0.6334 GB, free: 2.961 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.1739, allocations: 0 / 0.6334 GB, free: 2.961 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.174, allocations: 19.8 kB / 0.6334 GB, free: 2.941 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.1742, allocations: 47.56 kB / 0.6335 GB, free: 2.895 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.1744, allocations: 35.89 kB / 0.6335 GB, free: 2.859 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000307/0.1747, allocations: 171.1 kB / 0.6337 GB, free: 2.691 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.1749, allocations: 33.09 kB / 0.6337 GB, free: 2.66 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.1751, allocations: 47.84 kB / 0.6338 GB, free: 2.613 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.1752, allocations: 71.69 kB / 0.6338 GB, free: 2.543 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.1752, allocations: 12 kB / 0.6338 GB, free: 2.531 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.866e-05/0.1753, allocations: 8 kB / 0.6339 GB, free: 2.523 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.714e-05/0.1753, allocations: 23.92 kB / 0.6339 GB, free: 2.5 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 9.582e-05/0.1754, allocations: 63.67 kB / 0.6339 GB, free: 2.438 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.1757, allocations: 127.2 kB / 0.6341 GB, free: 2.316 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.1757, allocations: 8 kB / 0.6341 GB, free: 2.309 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1757, allocations: 3.938 kB / 0.6341 GB, free: 2.305 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1757, allocations: 0 / 0.6341 GB, free: 2.305 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008643/0.1766, allocations: 450.8 kB / 0.6345 GB, free: 1.812 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.1766, allocations: 8.031 kB / 0.6345 GB, free: 1.805 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.34e-05/0.1767, allocations: 38.75 kB / 0.6345 GB, free: 1.758 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/0.1767, allocations: 16.83 kB / 0.6346 GB, free: 1.742 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.177, allocations: 211.5 kB / 0.6348 GB, free: 1.5 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.177, allocations: 384 / 0.6348 GB, free: 1.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.1771, allocations: 8.375 kB / 0.6348 GB, free: 1.492 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003048/0.1774, allocations: 123.8 kB / 0.6349 GB, free: 1.359 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1774, allocations: 3.938 kB / 0.6349 GB, free: 1.355 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.1774, allocations: 4 kB / 0.6349 GB, free: 1.352 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1774, allocations: 8 kB / 0.6349 GB, free: 1.344 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.1777, allocations: 83.94 kB / 0.635 GB, free: 1.262 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007643/0.1785, allocations: 480.7 kB / 0.6354 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/0.1789, allocations: 121.2 kB / 0.6356 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.1791, allocations: 61.78 kB / 0.6356 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.1791, allocations: 7.938 kB / 0.6356 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1791, allocations: 34.56 kB / 0.6357 GB, free: 496 kB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.1791, allocations: 0 / 0.6357 GB, free: 496 kB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006015/0.1797, allocations: 189.3 kB / 0.6358 GB, free: 300 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.1798, allocations: 77.11 kB / 0.6359 GB, free: 204 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.18, allocations: 174.9 kB / 0.6361 GB, free: 16 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.18, allocations: 29.7 kB / 0.6361 GB, free: 15.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.951e-05/0.1801, allocations: 112 kB / 0.6362 GB, free: 15.87 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.1801, allocations: 27.64 kB / 0.6362 GB, free: 15.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.717e-05/0.1802, allocations: 25.62 kB / 0.6363 GB, free: 15.81 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1803, allocations: 326.8 kB / 0.6366 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.1805, allocations: 47.91 kB / 0.6366 GB, free: 15.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.1806, allocations: 61.67 kB / 0.6367 GB, free: 15.37 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.1809, allocations: 101.7 kB / 0.6368 GB, free: 15.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1809, allocations: 0 / 0.6368 GB, free: 15.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003908/0.1813, allocations: 145.7 kB / 0.6369 GB, free: 15.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1813, allocations: 7.938 kB / 0.6369 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1814, allocations: 0 / 0.6369 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1814, allocations: 0 / 0.6369 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.1815, allocations: 31.95 kB / 0.637 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1816, allocations: 0 / 0.637 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.1817, allocations: 19.83 kB / 0.637 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.1817, allocations: 3.938 kB / 0.637 GB, free: 15.05 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 9.619e-05/0.1818, allocations: 121.8 kB / 0.6371 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.776e-05/0.1819, allocations: 11.91 kB / 0.6371 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000441/0.1823, allocations: 154.9 kB / 0.6373 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1823, allocations: 0 / 0.6373 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.1823, allocations: 4.062 kB / 0.6373 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.1824, allocations: 11.92 kB / 0.6373 GB, free: 14.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/0.1827, allocations: 225.5 kB / 0.6375 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.1827, allocations: 4 kB / 0.6375 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.1828, allocations: 19.98 kB / 0.6375 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.1828, allocations: 4 kB / 0.6375 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.1829, allocations: 0 / 0.6375 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1829, allocations: 0 / 0.6375 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1829, allocations: 0 / 0.6375 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004179/0.1833, allocations: 322.7 kB / 0.6378 GB, free: 14.11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.499e-05/0.1834, allocations: 88.92 kB / 0.6379 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.1834, allocations: 4 kB / 0.6379 GB, free: 14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.1836, allocations: 11.98 kB / 0.6379 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.1836, allocations: 11.92 kB / 0.6379 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.1836, allocations: 3.938 kB / 0.6379 GB, free: 13.97 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.53e-05/0.1837, allocations: 128.2 kB / 0.6381 GB, free: 13.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1837, allocations: 4 kB / 0.6381 GB, free: 13.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000293/0.184, allocations: 28 kB / 0.6381 GB, free: 13.81 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (9): * Single equations (assignments): 9 * 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 0.0007243/0.1848, allocations: 0.8366 MB / 0.6389 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003714/0.1852, allocations: 99.88 kB / 0.639 GB, free: 12.85 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1852, allocations: 4 kB / 0.639 GB, free: 12.84 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.1853, allocations: 47.97 kB / 0.639 GB, free: 12.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.1858, allocations: 61.94 kB / 0.6391 GB, free: 12.74 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.1882, allocations: 1.834 MB / 0.6409 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.1885, allocations: 0.7006 MB / 0.6416 GB, free: 10.09 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.832e-05/0.1886, allocations: 16.78 kB / 0.6416 GB, free: 10.07 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.459e-05/0.1887, allocations: 35.42 kB / 0.6416 GB, free: 10.04 MB / 494.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1887, allocations: 0 / 0.6416 GB, free: 10.04 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02125/0.21, allocations: 3.69 MB / 0.6452 GB, free: 6.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/8.364, allocations: 8 kB / 0.6452 GB, free: 6.492 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)