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: translateModel(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001078, allocations: 110 kB / 16.41 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.001167/0.001168, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.301/1.301, 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.7233/0.7233, allocations: 115.3 MB / 406.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 65.34 kB / 0.5576 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1519, allocations: 76.2 MB / 0.6321 GB, free: 4.426 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002878/0.1548, allocations: 1.798 MB / 0.6338 GB, free: 2.617 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002802/0.1551, allocations: 123.6 kB / 0.6339 GB, free: 2.496 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.277e-05/0.1552, allocations: 0 / 0.6339 GB, free: 2.496 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.1553, allocations: 19.8 kB / 0.6339 GB, free: 2.477 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.284e-05/0.1554, allocations: 43.56 kB / 0.634 GB, free: 2.434 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001329/0.1556, allocations: 35.95 kB / 0.634 GB, free: 2.398 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000218/0.1558, allocations: 179 kB / 0.6342 GB, free: 2.223 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.1559, allocations: 21.11 kB / 0.6342 GB, free: 2.203 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.96e-05/0.156, allocations: 55.84 kB / 0.6343 GB, free: 2.148 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.1561, allocations: 63.7 kB / 0.6343 GB, free: 2.086 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.1562, allocations: 16 kB / 0.6343 GB, free: 2.07 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.478e-05/0.1562, allocations: 8 kB / 0.6343 GB, free: 2.062 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.966e-05/0.1562, allocations: 27.91 kB / 0.6344 GB, free: 2.035 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.807e-05/0.1563, allocations: 67.66 kB / 0.6344 GB, free: 1.969 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.1565, allocations: 131.5 kB / 0.6346 GB, free: 1.84 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1565, allocations: 0 / 0.6346 GB, free: 1.84 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1565, allocations: 4 kB / 0.6346 GB, free: 1.836 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1565, allocations: 0 / 0.6346 GB, free: 1.836 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.0007916/0.1573, allocations: 450.8 kB / 0.635 GB, free: 1.344 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1574, allocations: 8.031 kB / 0.635 GB, free: 1.336 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.1574, allocations: 12.84 kB / 0.635 GB, free: 1.324 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002419/0.1577, allocations: 207.5 kB / 0.6352 GB, free: 1.086 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.1577, allocations: 4.375 kB / 0.6352 GB, free: 1.082 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.1577, allocations: 4.375 kB / 0.6352 GB, free: 1.078 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/0.158, allocations: 131.8 kB / 0.6353 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.158, allocations: 192 / 0.6353 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.158, allocations: 3.938 kB / 0.6354 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1581, allocations: 4 kB / 0.6354 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003116/0.1584, allocations: 99.84 kB / 0.6355 GB, free: 0.832 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000752/0.1591, allocations: 472.7 kB / 0.6359 GB, free: 324 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003886/0.1595, allocations: 125.2 kB / 0.636 GB, free: 180 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.1597, allocations: 65.77 kB / 0.6361 GB, free: 108 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.1598, allocations: 4 kB / 0.6361 GB, free: 104 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.1598, allocations: 34.56 kB / 0.6361 GB, free: 60 kB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.1598, allocations: 0 / 0.6361 GB, free: 60 kB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006415/0.1604, allocations: 185.6 kB / 0.6363 GB, free: 15.87 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.1605, allocations: 77.11 kB / 0.6364 GB, free: 15.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.1607, allocations: 174.9 kB / 0.6365 GB, free: 15.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.1607, allocations: 25.7 kB / 0.6366 GB, free: 15.56 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.334e-05/0.1608, allocations: 112.1 kB / 0.6367 GB, free: 15.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.1608, allocations: 31.62 kB / 0.6367 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/0.1609, allocations: 21.7 kB / 0.6367 GB, free: 15.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.161, allocations: 334.8 kB / 0.637 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.1612, allocations: 47.97 kB / 0.6371 GB, free: 15 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.1614, allocations: 53.69 kB / 0.6371 GB, free: 14.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.1616, allocations: 105.7 kB / 0.6372 GB, free: 14.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1617, allocations: 0 / 0.6372 GB, free: 14.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003518/0.162, allocations: 149.4 kB / 0.6374 GB, free: 14.68 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.162, allocations: 4 kB / 0.6374 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.1621, allocations: 0 / 0.6374 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1621, allocations: 3.938 kB / 0.6374 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.1622, allocations: 23.98 kB / 0.6374 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.1622, allocations: 0 / 0.6374 GB, free: 14.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.1624, allocations: 23.89 kB / 0.6374 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.1624, allocations: 3.938 kB / 0.6374 GB, free: 14.62 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 0.0001012/0.1625, allocations: 117.8 kB / 0.6376 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.1626, allocations: 11.91 kB / 0.6376 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004329/0.163, allocations: 166.5 kB / 0.6377 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.163, allocations: 0 / 0.6377 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.163, allocations: 192 / 0.6377 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.163, allocations: 4 kB / 0.6377 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.1633, allocations: 225.4 kB / 0.6379 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1633, allocations: 0 / 0.6379 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.1635, allocations: 20.17 kB / 0.638 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1635, allocations: 4 kB / 0.638 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.1635, allocations: 11.92 kB / 0.638 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1635, allocations: 0 / 0.638 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1635, allocations: 0 / 0.638 GB, free: 14.01 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.1639, allocations: 314.6 kB / 0.6383 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.023e-05/0.164, allocations: 88.92 kB / 0.6384 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.164, allocations: 0 / 0.6384 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.1642, allocations: 11.98 kB / 0.6384 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.1642, allocations: 11.98 kB / 0.6384 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.1642, allocations: 7.938 kB / 0.6384 GB, free: 13.55 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.525e-05/0.1643, allocations: 132.2 kB / 0.6385 GB, free: 13.42 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1643, allocations: 0 / 0.6385 GB, free: 13.42 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002805/0.1646, allocations: 24 kB / 0.6385 GB, free: 13.39 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.0001055/0.1647, allocations: 103.3 kB / 0.6386 GB, free: 13.29 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003557/0.1651, allocations: 107.9 kB / 0.6387 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.1651, allocations: 4 kB / 0.6387 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.1653, allocations: 47.97 kB / 0.6388 GB, free: 13.13 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.1657, allocations: 56.34 kB / 0.6388 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005225/0.1663, allocations: 223.6 kB / 0.6391 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.1666, allocations: 0.7006 MB / 0.6397 GB, free: 12.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.938e-05/0.1667, allocations: 20.58 kB / 0.6398 GB, free: 12.08 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/0.1668, allocations: 11.44 kB / 0.6398 GB, free: 12.07 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1668, allocations: 0 / 0.6398 GB, free: 12.07 MB / 494.1 MB Notification: Performance of Templates: time 0.004875/0.1716, allocations: 2.105 MB / 0.6418 GB, free: 10.01 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (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 & ./IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)