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.0009973/0.0009973, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009722/0.0009722, allocations: 169 kB / 23.02 MB, free: 1.551 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.003/1.003, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.002347/0.002347, allocations: 239.8 kB / 260.2 MB, free: 12.82 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.7157/0.7157, allocations: 138.4 MB / 455.2 MB, free: 1.543 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.874e-06/1.874e-06, allocations: 3.938 kB / 0.5551 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.754e-05/2.942e-05, allocations: 6.25 kB / 0.5551 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.005326/0.005355, allocations: 4.874 MB / 0.5599 GB, free: 11.6 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.007728, allocations: 2.842 MB / 0.5627 GB, free: 8.746 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.007881, allocations: 0 / 0.5627 GB, free: 8.746 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000344/0.008225, allocations: 47.75 kB / 0.5627 GB, free: 8.699 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.008547, allocations: 111.2 kB / 0.5628 GB, free: 8.59 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.00982, allocations: 0.5638 MB / 0.5634 GB, free: 8.023 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000274/0.01009, allocations: 247.8 kB / 0.5636 GB, free: 7.777 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.422e-05/0.01014, allocations: 13.8 kB / 0.5636 GB, free: 7.766 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002207/0.01036, allocations: 155.6 kB / 0.5638 GB, free: 7.613 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.01048, allocations: 79.75 kB / 0.5639 GB, free: 7.535 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.588e-05/0.01051, allocations: 12 kB / 0.5639 GB, free: 7.523 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005518/0.01106, allocations: 331.1 kB / 0.5642 GB, free: 7.199 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.959e-05/0.01114, allocations: 39.89 kB / 0.5642 GB, free: 7.16 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.844e-05/0.01121, allocations: 63.83 kB / 0.5643 GB, free: 7.098 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005339/0.01174, allocations: 354.9 kB / 0.5646 GB, free: 6.75 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.01175, allocations: 3.938 kB / 0.5646 GB, free: 6.746 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01175, allocations: 0 / 0.5646 GB, free: 6.746 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.01176, allocations: 0 / 0.5646 GB, free: 6.746 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.0006713/0.01243, allocations: 0.5349 MB / 0.5651 GB, free: 6.172 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.01246, allocations: 8.75 kB / 0.5652 GB, free: 6.164 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.01263, allocations: 48.67 kB / 0.5652 GB, free: 6.117 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.01282, allocations: 156.4 kB / 0.5653 GB, free: 5.938 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.01284, allocations: 16.69 kB / 0.5654 GB, free: 5.922 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.01286, allocations: 16.38 kB / 0.5654 GB, free: 5.906 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.01318, allocations: 438.1 kB / 0.5658 GB, free: 5.398 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.01319, allocations: 192 / 0.5658 GB, free: 5.398 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.01321, allocations: 12.12 kB / 0.5658 GB, free: 5.387 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.235e-05/0.01325, allocations: 8 kB / 0.5658 GB, free: 5.379 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.0135, allocations: 295.5 kB / 0.5661 GB, free: 5.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008173/0.01432, allocations: 0.9909 MB / 0.5671 GB, free: 4.043 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.01455, allocations: 136 kB / 0.5672 GB, free: 3.898 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.283e-05/0.01461, allocations: 47.7 kB / 0.5672 GB, free: 3.848 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005053/0.01512, allocations: 0.5348 MB / 0.5678 GB, free: 3.293 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.01515, allocations: 37.39 kB / 0.5678 GB, free: 3.246 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 9.21e-07/0.01515, allocations: 0 / 0.5678 GB, free: 3.246 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002446/0.01539, allocations: 145.1 kB / 0.5679 GB, free: 3.102 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.01542, allocations: 55.41 kB / 0.568 GB, free: 3.035 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.01553, allocations: 224.2 kB / 0.5682 GB, free: 2.801 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.01555, allocations: 29.7 kB / 0.5682 GB, free: 2.766 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.983e-05/0.01561, allocations: 186.9 kB / 0.5684 GB, free: 2.578 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.01564, allocations: 55.53 kB / 0.5685 GB, free: 2.523 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.319e-05/0.0157, allocations: 59.31 kB / 0.5685 GB, free: 2.457 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.01581, allocations: 0.4922 MB / 0.569 GB, free: 1.953 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.191e-05/0.01585, allocations: 31.97 kB / 0.569 GB, free: 1.922 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001002/0.01595, allocations: 171 kB / 0.5692 GB, free: 1.688 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.01611, allocations: 230.7 kB / 0.5694 GB, free: 1.395 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01611, allocations: 0 / 0.5694 GB, free: 1.395 MB / 490.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002322/0.01635, allocations: 205.6 kB / 0.5696 GB, free: 1.188 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.01636, allocations: 12.06 kB / 0.5696 GB, free: 1.176 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.01637, allocations: 4 kB / 0.5696 GB, free: 1.172 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.01639, allocations: 4 kB / 0.5696 GB, free: 1.168 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.01651, allocations: 55.91 kB / 0.5697 GB, free: 1.113 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.01651, allocations: 8 kB / 0.5697 GB, free: 1.105 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.412e-05/0.01658, allocations: 31.77 kB / 0.5697 GB, free: 1.074 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.01659, allocations: 15.98 kB / 0.5697 GB, free: 1.059 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 8.161e-05/0.01667, allocations: 176.5 kB / 0.5699 GB, free: 0.875 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.01671, allocations: 19.91 kB / 0.5699 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.01692, allocations: 142.2 kB / 0.5701 GB, free: 0.707 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.01693, allocations: 4 kB / 0.5701 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.01693, allocations: 0 / 0.5701 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01694, allocations: 0 / 0.5701 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.01708, allocations: 172.4 kB / 0.5702 GB, free: 0.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01709, allocations: 0 / 0.5702 GB, free: 0.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.651e-05/0.01715, allocations: 27.98 kB / 0.5703 GB, free: 484 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01715, allocations: 4 kB / 0.5703 GB, free: 480 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.01716, allocations: 3.984 kB / 0.5703 GB, free: 476 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01716, allocations: 3.938 kB / 0.5703 GB, free: 472 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01717, allocations: 0 / 0.5703 GB, free: 472 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.01734, allocations: 275.2 kB / 0.5705 GB, free: 180 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.01738, allocations: 27.86 kB / 0.5706 GB, free: 152 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.0174, allocations: 4 kB / 0.5706 GB, free: 148 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.603e-05/0.01748, allocations: 11.98 kB / 0.5706 GB, free: 136 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.099e-05/0.0175, allocations: 7.984 kB / 0.5706 GB, free: 128 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.01752, allocations: 15.98 kB / 0.5706 GB, free: 112 kB / 490.7 MB Notification: Performance of sorting global known variables: time 6.859e-05/0.01759, allocations: 149 kB / 0.5707 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01759, allocations: 0 / 0.5707 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002982/0.01789, allocations: 83.81 kB / 0.5708 GB, free: 15.88 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.0002761/0.01816, allocations: 187 kB / 0.571 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000189/0.01835, allocations: 107.5 kB / 0.5711 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.01835, allocations: 7.938 kB / 0.5711 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.002e-05/0.01839, allocations: 39.67 kB / 0.5711 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.01867, allocations: 52.83 kB / 0.5712 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008275/0.01949, allocations: 318.9 kB / 0.5715 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.326e-05/0.01954, allocations: 68 kB / 0.5716 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001109/0.01965, allocations: 45.39 kB / 0.5716 GB, free: 15 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.01968, allocations: 20.5 kB / 0.5716 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of SimCode: time 7.71e-07/0.01968, allocations: 0 / 0.5716 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of Templates: time 0.004885/0.02457, allocations: 3.071 MB / 0.5746 GB, free: 11.98 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.911510962061584]