Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.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.001282/0.001282, allocations: 114.2 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.001366/0.001366, allocations: 189 kB / 22.22 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.377/1.377, allocations: 225.6 MB / 251 MB, free: 13.01 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.002521/0.002521, allocations: 288.8 kB / 306.5 MB, free: 8.324 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.177/1.177, allocations: 180.9 MB / 0.53 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.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") translateModel(BuildingSystems.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002791/0.002791, allocations: 102.1 kB / 0.7309 GB, free: 38.86 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1492, allocations: 94.19 MB / 0.8229 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.006297/0.1555, allocations: 4.785 MB / 0.8275 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003164/0.1587, allocations: 2.714 MB / 0.8302 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.639e-05/0.1587, allocations: 4 kB / 0.8302 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.159, allocations: 47.67 kB / 0.8302 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002608/0.1592, allocations: 103.4 kB / 0.8303 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.1603, allocations: 0.5186 MB / 0.8308 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002918/0.1606, allocations: 231.9 kB / 0.8311 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.894e-05/0.1607, allocations: 5.75 kB / 0.8311 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.1609, allocations: 123.5 kB / 0.8312 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.161, allocations: 99.58 kB / 0.8313 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.1611, allocations: 12 kB / 0.8313 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006963/0.1618, allocations: 375.3 kB / 0.8316 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.929e-05/0.1618, allocations: 31.89 kB / 0.8317 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.969e-05/0.1619, allocations: 83.59 kB / 0.8318 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006278/0.1625, allocations: 366.9 kB / 0.8321 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1626, allocations: 0 / 0.8321 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1626, allocations: 0 / 0.8321 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.1626, allocations: 0 / 0.8321 GB, free: 8.328 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007339/0.1633, allocations: 445.4 kB / 0.8325 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.1633, allocations: 12.03 kB / 0.8325 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.1635, allocations: 20.84 kB / 0.8326 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.1637, allocations: 154.4 kB / 0.8327 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1638, allocations: 12.64 kB / 0.8327 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.429e-05/0.1638, allocations: 16.38 kB / 0.8327 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004064/0.1642, allocations: 261.4 kB / 0.833 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1642, allocations: 4 kB / 0.833 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.1642, allocations: 4 kB / 0.833 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/0.1642, allocations: 15.92 kB / 0.833 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005394/0.1648, allocations: 444.1 kB / 0.8334 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.1661, allocations: 0.9207 MB / 0.8343 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/0.1664, allocations: 149.2 kB / 0.8345 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.1665, allocations: 65.45 kB / 0.8345 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008463/0.1674, allocations: 471.7 kB / 0.835 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/0.1674, allocations: 34.56 kB / 0.835 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.1674, allocations: 4 kB / 0.835 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0003733/0.1678, allocations: 140.7 kB / 0.8352 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.1678, allocations: 59.34 kB / 0.8352 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.1681, allocations: 169.3 kB / 0.8354 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.1681, allocations: 29.7 kB / 0.8354 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.1682, allocations: 148.1 kB / 0.8355 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.635e-05/0.1683, allocations: 59.48 kB / 0.8356 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.378e-05/0.1684, allocations: 53.7 kB / 0.8356 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.1685, allocations: 330.8 kB / 0.836 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.731e-05/0.1686, allocations: 39.91 kB / 0.836 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.1688, allocations: 138.2 kB / 0.8361 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/0.1691, allocations: 201.5 kB / 0.8363 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1691, allocations: 7.875 kB / 0.8363 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003704/0.1694, allocations: 217.2 kB / 0.8365 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1695, allocations: 4 kB / 0.8365 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.1695, allocations: 4 kB / 0.8365 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.1695, allocations: 4 kB / 0.8366 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.1697, allocations: 63.84 kB / 0.8366 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.1697, allocations: 4 kB / 0.8366 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.1698, allocations: 27.78 kB / 0.8366 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.1698, allocations: 12.41 kB / 0.8367 GB, free: 3.312 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001482/0.17, allocations: 137.7 kB / 0.8368 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.281e-05/0.17, allocations: 15.91 kB / 0.8368 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003634/0.1704, allocations: 165.9 kB / 0.837 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.1704, allocations: 3.938 kB / 0.837 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1704, allocations: 0 / 0.837 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1704, allocations: 0 / 0.837 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.1707, allocations: 192.6 kB / 0.8371 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1707, allocations: 0 / 0.8371 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.889e-05/0.1708, allocations: 23.94 kB / 0.8372 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.1708, allocations: 7.984 kB / 0.8372 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.1708, allocations: 4 kB / 0.8372 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1708, allocations: 3.938 kB / 0.8372 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1708, allocations: 0 / 0.8372 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.1711, allocations: 215.4 kB / 0.8374 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.362e-05/0.1711, allocations: 35.8 kB / 0.8374 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.1712, allocations: 0 / 0.8374 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.1714, allocations: 23.92 kB / 0.8374 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/0.1714, allocations: 11.97 kB / 0.8375 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.1714, allocations: 12 kB / 0.8375 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001055/0.1715, allocations: 121.8 kB / 0.8376 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1715, allocations: 0 / 0.8376 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003731/0.1719, allocations: 83.8 kB / 0.8377 GB, free: 2.211 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003365/0.1722, allocations: 175 kB / 0.8378 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002435/0.1725, allocations: 120.6 kB / 0.8379 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1725, allocations: 0 / 0.8379 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.664e-05/0.1726, allocations: 39.92 kB / 0.838 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.173, allocations: 60.58 kB / 0.838 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007267/0.1737, allocations: 348.1 kB / 0.8384 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.1741, allocations: 0.7089 MB / 0.8391 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001449/0.1742, allocations: 49.77 kB / 0.8391 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.1743, allocations: 27.42 kB / 0.8391 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1743, allocations: 0 / 0.8391 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of Templates: time 0.007764/0.182, allocations: 3.583 MB / 0.8426 GB, free: 13.1 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.826884752139449] Failed to read output from testmodel.py, exit status != 0: 0.18951350916177034 0.20457203200000001 0.039039548 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fd35d1217b0>