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.0009434/0.0009434, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009192/0.0009192, allocations: 169 kB / 23.02 MB, free: 1.543 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 0.9508/0.9508, allocations: 177.1 MB / 203.4 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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.001974/0.001974, allocations: 246 kB / 260.2 MB, free: 12.83 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 0.7446/0.7446, allocations: 138.4 MB / 455.2 MB, free: 1.559 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 1.954e-06/1.954e-06, allocations: 0 / 0.5551 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.777e-05/2.973e-05, allocations: 6.25 kB / 0.5551 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.005507/0.005537, allocations: 4.867 MB / 0.5599 GB, free: 11.61 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002067/0.007604, allocations: 2.835 MB / 0.5627 GB, free: 8.77 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.838e-05/0.007702, allocations: 0 / 0.5627 GB, free: 8.77 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000292/0.007994, allocations: 55.67 kB / 0.5627 GB, free: 8.715 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.008258, allocations: 107.2 kB / 0.5628 GB, free: 8.609 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.009316, allocations: 0.5638 MB / 0.5634 GB, free: 8.043 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.009585, allocations: 251.8 kB / 0.5636 GB, free: 7.793 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.987e-05/0.009625, allocations: 5.812 kB / 0.5636 GB, free: 7.789 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.009837, allocations: 167.6 kB / 0.5638 GB, free: 7.625 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.009955, allocations: 79.77 kB / 0.5639 GB, free: 7.547 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.009979, allocations: 8 kB / 0.5639 GB, free: 7.539 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005209/0.0105, allocations: 335.1 kB / 0.5642 GB, free: 7.211 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.307e-05/0.01057, allocations: 27.91 kB / 0.5642 GB, free: 7.184 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.624e-05/0.01064, allocations: 63.83 kB / 0.5643 GB, free: 7.121 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005188/0.01116, allocations: 362.9 kB / 0.5646 GB, free: 6.766 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.01116, allocations: 0 / 0.5646 GB, free: 6.766 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.01116, allocations: 3.938 kB / 0.5646 GB, free: 6.762 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.01117, allocations: 0 / 0.5646 GB, free: 6.762 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.0009082/0.01208, allocations: 0.5349 MB / 0.5651 GB, free: 6.188 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.01213, allocations: 16.73 kB / 0.5652 GB, free: 6.172 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002095/0.01234, allocations: 44.67 kB / 0.5652 GB, free: 6.129 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.01255, allocations: 152.4 kB / 0.5653 GB, free: 5.953 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.01256, allocations: 12.64 kB / 0.5654 GB, free: 5.941 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.01259, allocations: 28.36 kB / 0.5654 GB, free: 5.914 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.01294, allocations: 430.2 kB / 0.5658 GB, free: 5.414 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.01295, allocations: 4.125 kB / 0.5658 GB, free: 5.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.01298, allocations: 8.125 kB / 0.5658 GB, free: 5.402 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.142e-05/0.01302, allocations: 8 kB / 0.5658 GB, free: 5.395 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000257/0.01327, allocations: 307.5 kB / 0.5661 GB, free: 5.094 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008818/0.01416, allocations: 0.9831 MB / 0.5671 GB, free: 4.055 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.0144, allocations: 132 kB / 0.5672 GB, free: 3.914 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.407e-05/0.01447, allocations: 43.72 kB / 0.5672 GB, free: 3.867 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005452/0.01501, allocations: 0.5387 MB / 0.5678 GB, free: 3.309 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.01504, allocations: 45.33 kB / 0.5678 GB, free: 3.254 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 1.883e-06/0.01504, allocations: 0 / 0.5678 GB, free: 3.254 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002546/0.01529, allocations: 129.2 kB / 0.5679 GB, free: 3.125 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.01533, allocations: 51.41 kB / 0.568 GB, free: 3.062 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.01546, allocations: 224.2 kB / 0.5682 GB, free: 2.828 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.01548, allocations: 33.7 kB / 0.5682 GB, free: 2.789 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.278e-05/0.01556, allocations: 194.8 kB / 0.5684 GB, free: 2.594 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.01559, allocations: 47.53 kB / 0.5685 GB, free: 2.547 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.789e-05/0.01565, allocations: 63.31 kB / 0.5685 GB, free: 2.477 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.01577, allocations: 0.4961 MB / 0.569 GB, free: 1.969 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.225e-05/0.01581, allocations: 27.98 kB / 0.569 GB, free: 1.941 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.01593, allocations: 174.9 kB / 0.5692 GB, free: 1.703 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.0161, allocations: 226.8 kB / 0.5694 GB, free: 1.414 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.01611, allocations: 4 kB / 0.5694 GB, free: 1.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002372/0.01634, allocations: 205.4 kB / 0.5696 GB, free: 1.203 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.01636, allocations: 10.97 kB / 0.5696 GB, free: 1.195 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.01637, allocations: 0 / 0.5696 GB, free: 1.195 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.01639, allocations: 8 kB / 0.5696 GB, free: 1.188 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.01651, allocations: 59.91 kB / 0.5697 GB, free: 1.129 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.01652, allocations: 7.938 kB / 0.5697 GB, free: 1.121 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.33e-05/0.01658, allocations: 27.78 kB / 0.5697 GB, free: 1.094 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.01659, allocations: 16 kB / 0.5697 GB, free: 1.078 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 9.312e-05/0.01669, allocations: 176.7 kB / 0.5699 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.01672, allocations: 19.91 kB / 0.5699 GB, free: 0.875 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.01693, allocations: 138.3 kB / 0.57 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.01695, allocations: 7.984 kB / 0.5701 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.01695, allocations: 0 / 0.5701 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.01696, allocations: 0 / 0.5701 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.0171, allocations: 168.4 kB / 0.5702 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.01711, allocations: 0 / 0.5702 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.44e-05/0.01717, allocations: 31.92 kB / 0.5702 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.01717, allocations: 0 / 0.5702 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.01718, allocations: 12 kB / 0.5703 GB, free: 492 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.01719, allocations: 4 kB / 0.5703 GB, free: 488 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.01719, allocations: 3.938 kB / 0.5703 GB, free: 484 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.01738, allocations: 271.2 kB / 0.5705 GB, free: 196 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.496e-05/0.01744, allocations: 39.78 kB / 0.5706 GB, free: 156 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.01745, allocations: 0 / 0.5706 GB, free: 156 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.49e-05/0.01754, allocations: 12 kB / 0.5706 GB, free: 144 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.01756, allocations: 11.97 kB / 0.5706 GB, free: 132 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.01758, allocations: 12 kB / 0.5706 GB, free: 120 kB / 490.7 MB Notification: Performance of sorting global known variables: time 6.783e-05/0.01764, allocations: 149 kB / 0.5707 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01764, allocations: 0 / 0.5707 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003079/0.01795, allocations: 83.83 kB / 0.5708 GB, free: 15.89 MB / 0.4948 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.0002831/0.01823, allocations: 183 kB / 0.571 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000184/0.01842, allocations: 107.5 kB / 0.5711 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.01842, allocations: 0.9375 kB / 0.5711 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.103e-05/0.01846, allocations: 47.59 kB / 0.5711 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.01873, allocations: 47.91 kB / 0.5712 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007957/0.01952, allocations: 314.9 kB / 0.5715 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.651e-05/0.01957, allocations: 75.98 kB / 0.5716 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001072/0.01968, allocations: 45.39 kB / 0.5716 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/0.01971, allocations: 24.48 kB / 0.5716 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of SimCode: time 9.51e-07/0.01971, allocations: 4 kB / 0.5716 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of Templates: time 0.00547/0.02518, allocations: 3.466 MB / 0.575 GB, free: 11.59 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: 3.675675716251135]