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.001275/0.001275, allocations: 110.1 kB / 19.58 MB, free: 2.336 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.001312/0.001312, allocations: 188.4 kB / 22.85 MB, free: 5.641 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.379/1.379, allocations: 225.6 MB / 251.5 MB, free: 13.05 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.002451/0.002451, allocations: 294.1 kB / 307 MB, free: 8.367 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.204/1.204, allocations: 180.8 MB / 0.5304 GB, free: 14.45 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.002793/0.002793, allocations: 103.5 kB / 0.731 GB, free: 38.58 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1501, allocations: 94.2 MB / 0.823 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003119/0.1532, allocations: 1.83 MB / 0.8248 GB, free: 232 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003215/0.1535, allocations: 119.6 kB / 0.8249 GB, free: 112 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.186e-05/0.1536, allocations: 0 / 0.8249 GB, free: 112 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.1537, allocations: 15.8 kB / 0.825 GB, free: 96 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.1538, allocations: 55.55 kB / 0.825 GB, free: 40 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.154, allocations: 31.95 kB / 0.825 GB, free: 8 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.1542, allocations: 175.1 kB / 0.8252 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1543, allocations: 21.23 kB / 0.8252 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.1544, allocations: 59.83 kB / 0.8253 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.1545, allocations: 67.7 kB / 0.8253 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.1546, allocations: 12 kB / 0.8254 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.438e-05/0.1546, allocations: 12 kB / 0.8254 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.751e-05/0.1546, allocations: 27.91 kB / 0.8254 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.504e-05/0.1547, allocations: 63.67 kB / 0.8255 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.1549, allocations: 115.5 kB / 0.8256 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1549, allocations: 7.938 kB / 0.8256 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1549, allocations: 0 / 0.8256 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.1549, allocations: 0 / 0.8256 GB, free: 15.45 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.0007722/0.1557, allocations: 377.6 kB / 0.8259 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1557, allocations: 12.62 kB / 0.8259 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.847e-05/0.1558, allocations: 12.84 kB / 0.826 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.156, allocations: 159.5 kB / 0.8261 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.1561, allocations: 12.38 kB / 0.8261 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.1561, allocations: 4.375 kB / 0.8261 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002908/0.1564, allocations: 115.9 kB / 0.8262 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.1564, allocations: 192 / 0.8262 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.1564, allocations: 15.91 kB / 0.8263 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1564, allocations: 4 kB / 0.8263 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003143/0.1567, allocations: 91.88 kB / 0.8263 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000747/0.1575, allocations: 443.8 kB / 0.8268 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003929/0.1579, allocations: 113.3 kB / 0.8269 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.158, allocations: 69.7 kB / 0.8269 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.1581, allocations: 0 / 0.8269 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.1581, allocations: 38.56 kB / 0.827 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 9.31e-07/0.1581, allocations: 3.938 kB / 0.827 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0005997/0.1587, allocations: 185.5 kB / 0.8272 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.1588, allocations: 77.11 kB / 0.8272 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.1589, allocations: 170.8 kB / 0.8274 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.1589, allocations: 25.7 kB / 0.8274 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.778e-05/0.159, allocations: 112 kB / 0.8275 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.1591, allocations: 27.75 kB / 0.8276 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.602e-05/0.1591, allocations: 25.7 kB / 0.8276 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1593, allocations: 338.8 kB / 0.8279 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00015/0.1594, allocations: 35.97 kB / 0.8279 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.1596, allocations: 61.62 kB / 0.828 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.1599, allocations: 101.7 kB / 0.8281 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1599, allocations: 4 kB / 0.8281 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003707/0.1602, allocations: 145.8 kB / 0.8282 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1602, allocations: 9.562 kB / 0.8282 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1603, allocations: 0 / 0.8282 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1603, allocations: 64 / 0.8282 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.1604, allocations: 27.92 kB / 0.8283 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.1604, allocations: 4 kB / 0.8283 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.1605, allocations: 15.98 kB / 0.8283 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.1606, allocations: 7.938 kB / 0.8283 GB, free: 12.44 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.0001024/0.1607, allocations: 114.5 kB / 0.8284 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.756e-05/0.1607, allocations: 19.84 kB / 0.8284 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004313/0.1611, allocations: 154.7 kB / 0.8286 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1611, allocations: 8 kB / 0.8286 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1611, allocations: 0 / 0.8286 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1612, allocations: 3.938 kB / 0.8286 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/0.1615, allocations: 200.6 kB / 0.8288 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1615, allocations: 0 / 0.8288 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.1616, allocations: 23.97 kB / 0.8288 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1616, allocations: 0 / 0.8288 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.1616, allocations: 8 kB / 0.8288 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1616, allocations: 0 / 0.8288 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1616, allocations: 0 / 0.8288 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004377/0.1621, allocations: 318.7 kB / 0.8291 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.838e-05/0.1621, allocations: 11.91 kB / 0.8291 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.1621, allocations: 3.984 kB / 0.8291 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.1623, allocations: 8 kB / 0.8291 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.1623, allocations: 12.22 kB / 0.8291 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.1623, allocations: 7.938 kB / 0.8292 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001117/0.1625, allocations: 131.2 kB / 0.8293 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1625, allocations: 0 / 0.8293 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002925/0.1627, allocations: 28 kB / 0.8293 GB, free: 11.33 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.0001055/0.1629, allocations: 107.2 kB / 0.8294 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003684/0.1632, allocations: 95.94 kB / 0.8295 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1632, allocations: 0 / 0.8295 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.1634, allocations: 51.91 kB / 0.8295 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.1638, allocations: 44.39 kB / 0.8296 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004901/0.1643, allocations: 231.5 kB / 0.8298 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.1646, allocations: 0.7046 MB / 0.8305 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.626e-05/0.1647, allocations: 16.58 kB / 0.8305 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.1648, allocations: 23.38 kB / 0.8305 GB, free: 10 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/0.1648, allocations: 0 / 0.8305 GB, free: 10 MB / 0.5762 GB Notification: Performance of Templates: time 0.005526/0.1703, allocations: 2.176 MB / 0.8327 GB, free: 7.883 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.840660524998384] Failed to read output from testmodel.py, exit status != 0: 0.17747618800058262 0.192146 0.03433212 Calling exit ...