Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 190.3 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002598/0.002598, allocations: 291.4 kB / 306.5 MB, free: 8.363 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.233/1.233, allocations: 180.9 MB / 0.53 GB, free: 14.56 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002844/0.002844, allocations: 104.2 kB / 0.7308 GB, free: 38.62 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1656, allocations: 94.2 MB / 0.8228 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003273/0.1688, allocations: 1.83 MB / 0.8246 GB, free: 36 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003087/0.1691, allocations: 123.6 kB / 0.8247 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.517e-05/0.1692, allocations: 4 kB / 0.8247 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.1693, allocations: 15.8 kB / 0.8247 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.855e-05/0.1694, allocations: 43.56 kB / 0.8248 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.1696, allocations: 31.95 kB / 0.8248 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.1698, allocations: 179 kB / 0.825 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1699, allocations: 25.23 kB / 0.825 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.193e-05/0.17, allocations: 55.84 kB / 0.825 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.1701, allocations: 67.7 kB / 0.8251 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.1702, allocations: 12 kB / 0.8251 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.86e-05/0.1702, allocations: 8 kB / 0.8251 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.426e-05/0.1702, allocations: 23.91 kB / 0.8252 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.035e-05/0.1703, allocations: 67.66 kB / 0.8252 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.1705, allocations: 123.5 kB / 0.8253 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1705, allocations: 0 / 0.8253 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1705, allocations: 0 / 0.8253 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.1705, allocations: 4 kB / 0.8253 GB, free: 15.26 MB / 0.5762 GB 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.0007981/0.1713, allocations: 381.6 kB / 0.8257 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1713, allocations: 12.56 kB / 0.8257 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.1714, allocations: 20.78 kB / 0.8257 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.1716, allocations: 147 kB / 0.8259 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1716, allocations: 8.375 kB / 0.8259 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.1717, allocations: 12.31 kB / 0.8259 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.172, allocations: 115.5 kB / 0.826 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.172, allocations: 192 / 0.826 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.172, allocations: 11.94 kB / 0.826 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.172, allocations: 3.984 kB / 0.826 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003285/0.1723, allocations: 103.9 kB / 0.8261 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007516/0.1731, allocations: 435.9 kB / 0.8265 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00046/0.1735, allocations: 125.2 kB / 0.8267 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.1737, allocations: 57.77 kB / 0.8267 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.1738, allocations: 4 kB / 0.8267 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.1738, allocations: 34.56 kB / 0.8267 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.1738, allocations: 4 kB / 0.8267 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.000646/0.1744, allocations: 177.5 kB / 0.8269 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.1745, allocations: 81.05 kB / 0.827 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.1747, allocations: 174.8 kB / 0.8272 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.1747, allocations: 29.7 kB / 0.8272 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.408e-05/0.1748, allocations: 116 kB / 0.8273 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.1748, allocations: 31.81 kB / 0.8273 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-05/0.1749, allocations: 21.7 kB / 0.8274 GB, free: 13 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.175, allocations: 330.8 kB / 0.8277 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.1752, allocations: 43.97 kB / 0.8277 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.1753, allocations: 53.69 kB / 0.8278 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.1756, allocations: 113.6 kB / 0.8279 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1756, allocations: 0 / 0.8279 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003699/0.176, allocations: 141.5 kB / 0.828 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.176, allocations: 4 kB / 0.828 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.176, allocations: 0 / 0.828 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.176, allocations: 4 kB / 0.828 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.1762, allocations: 28.3 kB / 0.828 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1762, allocations: 0 / 0.828 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.1763, allocations: 19.94 kB / 0.8281 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.1763, allocations: 7.938 kB / 0.8281 GB, free: 12.25 MB / 0.5762 GB 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.0001051/0.1764, allocations: 122.6 kB / 0.8282 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.134e-05/0.1765, allocations: 7.953 kB / 0.8282 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004967/0.177, allocations: 166.6 kB / 0.8283 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.177, allocations: 0 / 0.8283 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.177, allocations: 0 / 0.8283 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.177, allocations: 4 kB / 0.8284 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/0.1773, allocations: 196.5 kB / 0.8285 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1773, allocations: 0 / 0.8285 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.1774, allocations: 23.98 kB / 0.8286 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.1775, allocations: 7.984 kB / 0.8286 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.1775, allocations: 4 kB / 0.8286 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1775, allocations: 3.938 kB / 0.8286 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.1775, allocations: 7.984 kB / 0.8286 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005377/0.178, allocations: 302.6 kB / 0.8289 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.706e-05/0.178, allocations: 19.91 kB / 0.8289 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.1781, allocations: 7.984 kB / 0.8289 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.1782, allocations: 4 kB / 0.8289 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.1783, allocations: 11.98 kB / 0.8289 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.1783, allocations: 3.938 kB / 0.8289 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001122/0.1784, allocations: 131.2 kB / 0.829 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1784, allocations: 0 / 0.829 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002886/0.1787, allocations: 28 kB / 0.8291 GB, free: 11.14 MB / 0.5762 GB 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.000113/0.1788, allocations: 99.25 kB / 0.8292 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003813/0.1792, allocations: 100.1 kB / 0.8293 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1792, allocations: 0 / 0.8293 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.1794, allocations: 55.91 kB / 0.8293 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.1798, allocations: 58.78 kB / 0.8294 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005154/0.1803, allocations: 223.6 kB / 0.8296 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.1807, allocations: 0.7045 MB / 0.8303 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.447e-05/0.1808, allocations: 12.64 kB / 0.8303 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.077e-05/0.1808, allocations: 15.44 kB / 0.8303 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1808, allocations: 0 / 0.8303 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of Templates: time 0.005593/0.1864, allocations: 2.165 MB / 0.8324 GB, free: 7.703 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.910021478310227] Failed to read output from testmodel.py, exit status != 0: 0.19375651609152555 0.20842137000000002 0.034981108000000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7ff6691417b0>