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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002253/0.002253, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00313/0.00313, allocations: 169.2 kB / 22.76 MB, free: 1.656 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.62/1.62, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00507/0.00507, allocations: 245.8 kB / 259.8 MB, free: 12.85 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.196/1.196, allocations: 138.5 MB / 454.7 MB, free: 1.484 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 4.178e-06/4.178e-06, allocations: 4 kB / 0.5544 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.998e-05, allocations: 5.266 kB / 0.5544 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.007222/0.007252, allocations: 4.828 MB / 0.5591 GB, free: 11.96 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003996/0.01125, allocations: 2.819 MB / 0.5618 GB, free: 9.137 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.69e-05/0.01133, allocations: 4 kB / 0.5618 GB, free: 9.133 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.01159, allocations: 47.62 kB / 0.5619 GB, free: 9.086 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002922/0.01189, allocations: 103.2 kB / 0.562 GB, free: 8.984 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.01315, allocations: 0.5286 MB / 0.5625 GB, free: 8.453 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003261/0.01348, allocations: 243.8 kB / 0.5627 GB, free: 8.211 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.01352, allocations: 5.812 kB / 0.5627 GB, free: 8.203 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002863/0.01381, allocations: 163.5 kB / 0.5629 GB, free: 8.043 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.01397, allocations: 83.77 kB / 0.563 GB, free: 7.961 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.408e-05/0.014, allocations: 8 kB / 0.563 GB, free: 7.953 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006609/0.01466, allocations: 311.1 kB / 0.5633 GB, free: 7.648 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.074e-05/0.01474, allocations: 39.88 kB / 0.5633 GB, free: 7.609 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.944e-05/0.01484, allocations: 67.83 kB / 0.5634 GB, free: 7.543 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006677/0.01551, allocations: 370.9 kB / 0.5637 GB, free: 7.18 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.01551, allocations: 0 / 0.5637 GB, free: 7.18 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01551, allocations: 0 / 0.5637 GB, free: 7.18 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.01552, allocations: 0 / 0.5637 GB, free: 7.18 MB / 490.7 MB 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.0008924/0.01641, allocations: 0.5462 MB / 0.5643 GB, free: 6.594 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.01645, allocations: 12.75 kB / 0.5643 GB, free: 6.582 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002129/0.01666, allocations: 44.73 kB / 0.5643 GB, free: 6.539 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.01692, allocations: 156.3 kB / 0.5645 GB, free: 6.359 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.01694, allocations: 12.7 kB / 0.5645 GB, free: 6.348 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/0.01697, allocations: 20.38 kB / 0.5645 GB, free: 6.328 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005565/0.01753, allocations: 442.2 kB / 0.5649 GB, free: 5.816 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.01754, allocations: 192 / 0.5649 GB, free: 5.816 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.01757, allocations: 12.12 kB / 0.5649 GB, free: 5.805 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/0.0176, allocations: 7.984 kB / 0.5649 GB, free: 5.797 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000504/0.01811, allocations: 335.5 kB / 0.5653 GB, free: 5.469 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.01945, allocations: 1.01 MB / 0.5662 GB, free: 4.402 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/0.01981, allocations: 153 kB / 0.5664 GB, free: 4.242 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.01993, allocations: 59.7 kB / 0.5664 GB, free: 4.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009929/0.02092, allocations: 0.5387 MB / 0.567 GB, free: 3.621 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.453e-05/0.02096, allocations: 33.39 kB / 0.567 GB, free: 3.578 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 1.253e-06/0.02096, allocations: 4 kB / 0.567 GB, free: 3.574 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003774/0.02133, allocations: 141.5 kB / 0.5671 GB, free: 3.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.02138, allocations: 55.41 kB / 0.5672 GB, free: 3.363 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.02159, allocations: 226.2 kB / 0.5674 GB, free: 3.129 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.02162, allocations: 37.64 kB / 0.5674 GB, free: 3.086 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.02175, allocations: 190.8 kB / 0.5676 GB, free: 2.895 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.672e-05/0.02181, allocations: 59.52 kB / 0.5677 GB, free: 2.836 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.76e-05/0.0219, allocations: 59.31 kB / 0.5677 GB, free: 2.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002765/0.02217, allocations: 0.5 MB / 0.5682 GB, free: 2.258 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.173e-05/0.02225, allocations: 27.98 kB / 0.5683 GB, free: 2.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.02247, allocations: 190.9 kB / 0.5684 GB, free: 1.977 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/0.02279, allocations: 242.3 kB / 0.5687 GB, free: 1.676 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.0228, allocations: 0 / 0.5687 GB, free: 1.676 MB / 490.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004007/0.0232, allocations: 225.6 kB / 0.5689 GB, free: 1.449 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.02321, allocations: 12 kB / 0.5689 GB, free: 1.438 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.02322, allocations: 4 kB / 0.5689 GB, free: 1.434 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.02324, allocations: 4 kB / 0.5689 GB, free: 1.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.02344, allocations: 59.91 kB / 0.569 GB, free: 1.371 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.02345, allocations: 4 kB / 0.569 GB, free: 1.367 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.02357, allocations: 27.78 kB / 0.569 GB, free: 1.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.02359, allocations: 16 kB / 0.569 GB, free: 1.324 MB / 490.7 MB 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.000152/0.02374, allocations: 180.4 kB / 0.5692 GB, free: 1.137 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.204e-05/0.02381, allocations: 19.94 kB / 0.5692 GB, free: 1.117 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003568/0.02416, allocations: 154.2 kB / 0.5693 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.02417, allocations: 0 / 0.5693 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.02418, allocations: 0 / 0.5693 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.02418, allocations: 0 / 0.5693 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.02443, allocations: 172.5 kB / 0.5695 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.02444, allocations: 0 / 0.5695 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.02456, allocations: 31.98 kB / 0.5695 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.02457, allocations: 7.938 kB / 0.5695 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.02458, allocations: 0 / 0.5695 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.02458, allocations: 0 / 0.5695 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.02458, allocations: 4 kB / 0.5696 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.02491, allocations: 283 kB / 0.5698 GB, free: 432 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.102e-05/0.02499, allocations: 35.81 kB / 0.5699 GB, free: 396 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.02501, allocations: 0 / 0.5699 GB, free: 396 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.02518, allocations: 11.98 kB / 0.5699 GB, free: 384 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.02522, allocations: 7.984 kB / 0.5699 GB, free: 376 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.02524, allocations: 12 kB / 0.5699 GB, free: 364 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001164/0.02536, allocations: 159.1 kB / 0.57 GB, free: 204 kB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02536, allocations: 0 / 0.57 GB, free: 204 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003907/0.02575, allocations: 79.84 kB / 0.5701 GB, free: 124 kB / 490.7 MB 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.0003746/0.02612, allocations: 195 kB / 0.5703 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002641/0.02639, allocations: 116.3 kB / 0.5704 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.02639, allocations: 8.125 kB / 0.5704 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.692e-05/0.02648, allocations: 51.59 kB / 0.5705 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.02689, allocations: 51.89 kB / 0.5705 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007152/0.0276, allocations: 315 kB / 0.5708 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.02772, allocations: 98.92 kB / 0.5709 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001613/0.02788, allocations: 41.3 kB / 0.571 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.702e-05/0.02792, allocations: 28.48 kB / 0.571 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/0.02792, allocations: 0 / 0.571 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of Templates: time 0.008197/0.03612, allocations: 3.177 MB / 0.5741 GB, free: 12.06 MB / 0.4948 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.053223868017085]