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.001706/0.001706, allocations: 88.72 kB / 19.44 MB, free: 356 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.002237/0.002237, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.475/1.475, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.004056/0.004056, allocations: 232.9 kB / 259.8 MB, free: 12.84 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.066/1.066, allocations: 138.4 MB / 454.7 MB, free: 1.449 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.332e-06/1.332e-06, allocations: 0 / 0.5543 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.389e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8125 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.006657/0.006681, allocations: 4.516 MB / 0.5588 GB, free: 12.27 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003665/0.01035, allocations: 2.457 MB / 0.5612 GB, free: 9.805 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.01045, allocations: 0 / 0.5612 GB, free: 9.805 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.01071, allocations: 55.55 kB / 0.5612 GB, free: 9.75 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003136/0.01103, allocations: 95.25 kB / 0.5613 GB, free: 9.656 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.01243, allocations: 0.5287 MB / 0.5618 GB, free: 9.125 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003576/0.01279, allocations: 243.7 kB / 0.562 GB, free: 8.883 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.638e-05/0.01284, allocations: 13.8 kB / 0.5621 GB, free: 8.867 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003073/0.01315, allocations: 159.5 kB / 0.5622 GB, free: 8.711 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.01331, allocations: 79.77 kB / 0.5623 GB, free: 8.633 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.01334, allocations: 8 kB / 0.5623 GB, free: 8.625 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000707/0.01404, allocations: 319.1 kB / 0.5626 GB, free: 8.312 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.971e-05/0.01412, allocations: 35.89 kB / 0.5626 GB, free: 8.277 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.01423, allocations: 75.81 kB / 0.5627 GB, free: 8.203 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007306/0.01496, allocations: 370.9 kB / 0.5631 GB, free: 7.84 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.01496, allocations: 0 / 0.5631 GB, free: 7.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.01496, allocations: 0 / 0.5631 GB, free: 7.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.01497, allocations: 4 kB / 0.5631 GB, free: 7.836 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.000821/0.01579, allocations: 441.4 kB / 0.5635 GB, free: 7.371 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.01583, allocations: 8.75 kB / 0.5635 GB, free: 7.363 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002295/0.01606, allocations: 44.73 kB / 0.5635 GB, free: 7.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.01634, allocations: 157.5 kB / 0.5637 GB, free: 7.141 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.01636, allocations: 16.7 kB / 0.5637 GB, free: 7.125 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.613e-05/0.0164, allocations: 20.38 kB / 0.5637 GB, free: 7.105 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006105/0.01701, allocations: 488 kB / 0.5642 GB, free: 6.555 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.01702, allocations: 192 / 0.5642 GB, free: 6.555 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.01705, allocations: 16.12 kB / 0.5642 GB, free: 6.539 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/0.01708, allocations: 4 kB / 0.5642 GB, free: 6.535 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005735/0.01765, allocations: 423.5 kB / 0.5646 GB, free: 6.121 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.0189, allocations: 0.7777 MB / 0.5654 GB, free: 5.297 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003569/0.01925, allocations: 152.5 kB / 0.5655 GB, free: 5.141 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.01936, allocations: 48.89 kB / 0.5656 GB, free: 5.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008288/0.02019, allocations: 455.8 kB / 0.566 GB, free: 4.625 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.02023, allocations: 38.56 kB / 0.566 GB, free: 4.578 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.02023, allocations: 0 / 0.566 GB, free: 4.578 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003755/0.0206, allocations: 149.5 kB / 0.5662 GB, free: 4.426 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.02065, allocations: 51.41 kB / 0.5662 GB, free: 4.363 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.02083, allocations: 162.9 kB / 0.5664 GB, free: 4.199 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.02086, allocations: 37.7 kB / 0.5664 GB, free: 4.156 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.02098, allocations: 144.1 kB / 0.5666 GB, free: 4.008 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.114e-05/0.02103, allocations: 59.47 kB / 0.5666 GB, free: 3.949 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.401e-05/0.02111, allocations: 53.66 kB / 0.5667 GB, free: 3.891 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.0213, allocations: 326.8 kB / 0.567 GB, free: 3.562 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.667e-05/0.02137, allocations: 31.98 kB / 0.567 GB, free: 3.531 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.02155, allocations: 145.6 kB / 0.5671 GB, free: 3.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.02185, allocations: 193.1 kB / 0.5673 GB, free: 3.105 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.02185, allocations: 0 / 0.5673 GB, free: 3.105 MB / 490.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003976/0.02225, allocations: 233.1 kB / 0.5675 GB, free: 2.871 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.02227, allocations: 7.984 kB / 0.5676 GB, free: 2.863 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.02228, allocations: 4 kB / 0.5676 GB, free: 2.859 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.0223, allocations: 4.469 kB / 0.5676 GB, free: 2.855 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.0225, allocations: 63.92 kB / 0.5676 GB, free: 2.793 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.02251, allocations: 7.984 kB / 0.5676 GB, free: 2.785 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.02262, allocations: 19.89 kB / 0.5677 GB, free: 2.766 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.02265, allocations: 16 kB / 0.5677 GB, free: 2.75 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.0003515/0.023, allocations: 137.6 kB / 0.5678 GB, free: 2.605 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.405e-05/0.02306, allocations: 23.91 kB / 0.5678 GB, free: 2.582 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003344/0.0234, allocations: 154.2 kB / 0.568 GB, free: 2.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.02341, allocations: 4 kB / 0.568 GB, free: 2.426 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.02342, allocations: 3.984 kB / 0.568 GB, free: 2.422 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.02342, allocations: 4 kB / 0.568 GB, free: 2.418 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.02367, allocations: 153.2 kB / 0.5681 GB, free: 2.238 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.02367, allocations: 0 / 0.5681 GB, free: 2.238 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.0238, allocations: 35.92 kB / 0.5682 GB, free: 2.203 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.0238, allocations: 0 / 0.5682 GB, free: 2.203 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.02381, allocations: 4 kB / 0.5682 GB, free: 2.199 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.02381, allocations: 0 / 0.5682 GB, free: 2.199 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.02382, allocations: 0 / 0.5682 GB, free: 2.199 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.02412, allocations: 227.4 kB / 0.5684 GB, free: 1.961 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-05/0.0242, allocations: 31.86 kB / 0.5684 GB, free: 1.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.02422, allocations: 4 kB / 0.5684 GB, free: 1.926 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.02442, allocations: 15.98 kB / 0.5684 GB, free: 1.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.02445, allocations: 11.98 kB / 0.5684 GB, free: 1.898 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.02448, allocations: 11.98 kB / 0.5685 GB, free: 1.887 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.359e-05/0.02457, allocations: 103.3 kB / 0.5686 GB, free: 1.785 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02457, allocations: 0 / 0.5686 GB, free: 1.785 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004199/0.02499, allocations: 91.75 kB / 0.5686 GB, free: 1.695 MB / 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.0003366/0.02533, allocations: 183 kB / 0.5688 GB, free: 1.504 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002656/0.02559, allocations: 119.2 kB / 0.5689 GB, free: 1.391 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.02559, allocations: 0.9375 kB / 0.5689 GB, free: 1.391 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.361e-05/0.02567, allocations: 39.92 kB / 0.569 GB, free: 1.352 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.02608, allocations: 55.02 kB / 0.569 GB, free: 1.301 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007141/0.0268, allocations: 313.3 kB / 0.5693 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.02691, allocations: 98.92 kB / 0.5694 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001543/0.02706, allocations: 41.3 kB / 0.5695 GB, free: 0.8164 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.124e-05/0.02711, allocations: 20.5 kB / 0.5695 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02711, allocations: 0 / 0.5695 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of Templates: time 0.007653/0.03477, allocations: 3.176 MB / 0.5726 GB, free: 13.68 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.654739712947048]