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.0009544/0.0009544, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001011/0.001011, allocations: 173 kB / 23.36 MB, free: 1.133 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.044/1.044, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.001758/0.001758, allocations: 253.6 kB / 260.5 MB, free: 12.7 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.71/0.71, allocations: 138.4 MB / 402.2 MB, free: 0.5625 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.493e-06/1.493e-06, allocations: 0 / 462.4 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.474e-05/2.623e-05, allocations: 5.188 kB / 462.4 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.007893/0.00792, allocations: 4.914 MB / 467.3 MB, free: 13.54 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003446/0.01137, allocations: 2.856 MB / 470.2 MB, free: 10.8 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.01153, allocations: 0 / 470.2 MB, free: 10.8 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003437/0.01187, allocations: 47.69 kB / 470.2 MB, free: 10.75 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003489/0.01222, allocations: 108.7 kB / 470.3 MB, free: 10.65 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.01387, allocations: 0.5677 MB / 470.9 MB, free: 10.09 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003792/0.01425, allocations: 249.9 kB / 471.1 MB, free: 9.844 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.968e-05/0.01431, allocations: 6.469 kB / 471.1 MB, free: 9.84 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003666/0.01467, allocations: 167.5 kB / 471.3 MB, free: 9.676 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.01485, allocations: 68.47 kB / 471.4 MB, free: 9.609 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.01488, allocations: 8 kB / 471.4 MB, free: 9.602 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008696/0.01575, allocations: 344.7 kB / 471.7 MB, free: 9.266 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 8.545e-05/0.01584, allocations: 43.83 kB / 471.7 MB, free: 9.223 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 7.742e-05/0.01591, allocations: 63.88 kB / 471.8 MB, free: 9.16 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007096/0.01662, allocations: 362.8 kB / 472.2 MB, free: 8.805 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.01663, allocations: 1.375 kB / 472.2 MB, free: 8.805 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.01663, allocations: 0 / 472.2 MB, free: 8.805 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.01664, allocations: 0 / 472.2 MB, free: 8.805 MB / 426.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.00086/0.0175, allocations: 415 kB / 472.6 MB, free: 8.379 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.01754, allocations: 12.73 kB / 472.6 MB, free: 8.367 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002099/0.01775, allocations: 41.92 kB / 472.6 MB, free: 8.328 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.01799, allocations: 154.9 kB / 472.8 MB, free: 8.152 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.01801, allocations: 8.703 kB / 472.8 MB, free: 8.145 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.01804, allocations: 25 kB / 472.8 MB, free: 8.121 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000375/0.01841, allocations: 412.9 kB / 473.2 MB, free: 7.645 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.01843, allocations: 0.7188 kB / 473.2 MB, free: 7.645 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.01845, allocations: 13.56 kB / 473.2 MB, free: 7.633 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.764e-05/0.01849, allocations: 4 kB / 473.2 MB, free: 7.629 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006213/0.01911, allocations: 245.9 kB / 473.5 MB, free: 7.391 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009302/0.02004, allocations: 0.6951 MB / 474.2 MB, free: 6.668 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.02029, allocations: 155.3 kB / 474.3 MB, free: 6.508 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.329e-05/0.02035, allocations: 36.84 kB / 474.3 MB, free: 6.469 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006923/0.02105, allocations: 474 kB / 474.8 MB, free: 6.004 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.02108, allocations: 38.56 kB / 474.9 MB, free: 5.957 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.813e-06/0.02108, allocations: 0.6562 kB / 474.9 MB, free: 5.957 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002374/0.02132, allocations: 142.4 kB / 475 MB, free: 5.812 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.02135, allocations: 56.25 kB / 475 MB, free: 5.746 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.02147, allocations: 157 kB / 475.2 MB, free: 5.582 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.02149, allocations: 32.67 kB / 475.2 MB, free: 5.547 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.507e-05/0.02156, allocations: 148 kB / 475.4 MB, free: 5.398 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.0216, allocations: 55.52 kB / 475.4 MB, free: 5.344 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-05/0.02167, allocations: 53.64 kB / 475.5 MB, free: 5.285 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.02177, allocations: 330.7 kB / 475.8 MB, free: 4.953 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.102e-05/0.02182, allocations: 23.56 kB / 475.8 MB, free: 4.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.02192, allocations: 123.7 kB / 475.9 MB, free: 4.762 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.02212, allocations: 186.7 kB / 476.1 MB, free: 4.535 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.02212, allocations: 0 / 476.1 MB, free: 4.535 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002452/0.02237, allocations: 167.2 kB / 476.3 MB, free: 4.367 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.02239, allocations: 8.938 kB / 476.3 MB, free: 4.359 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.0224, allocations: 4 kB / 476.3 MB, free: 4.355 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.02241, allocations: 5.062 kB / 476.3 MB, free: 4.352 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.02264, allocations: 63.91 kB / 476.4 MB, free: 4.289 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.02265, allocations: 4.5 kB / 476.4 MB, free: 4.285 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.02275, allocations: 27.78 kB / 476.4 MB, free: 4.258 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.02277, allocations: 12.88 kB / 476.4 MB, free: 4.246 MB / 426.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.829e-05/0.02287, allocations: 129.1 kB / 476.5 MB, free: 4.109 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.02291, allocations: 15.98 kB / 476.6 MB, free: 4.094 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001893/0.0231, allocations: 124 kB / 476.7 MB, free: 3.969 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.02311, allocations: 0 / 476.7 MB, free: 3.969 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.02312, allocations: 5.25 kB / 476.7 MB, free: 3.965 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.02312, allocations: 0.625 kB / 476.7 MB, free: 3.965 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.02325, allocations: 105.8 kB / 476.8 MB, free: 3.844 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.02325, allocations: 5.438 kB / 476.8 MB, free: 3.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.596e-05/0.02334, allocations: 35.97 kB / 476.8 MB, free: 3.805 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.02334, allocations: 0 / 476.8 MB, free: 3.805 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.02335, allocations: 8.5 kB / 476.8 MB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.02335, allocations: 1 kB / 476.8 MB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.02335, allocations: 1.375 kB / 476.8 MB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.02348, allocations: 232.4 kB / 477.1 MB, free: 3.555 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/0.02352, allocations: 26.42 kB / 477.1 MB, free: 3.527 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.02353, allocations: 8 kB / 477.1 MB, free: 3.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.262e-05/0.02362, allocations: 8 kB / 477.1 MB, free: 3.512 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.879e-05/0.02363, allocations: 13.53 kB / 477.1 MB, free: 3.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.02365, allocations: 8 kB / 477.1 MB, free: 3.492 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.782e-05/0.02368, allocations: 35.25 kB / 477.2 MB, free: 3.457 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02368, allocations: 0 / 477.2 MB, free: 3.457 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002515/0.02393, allocations: 83.77 kB / 477.2 MB, free: 3.375 MB / 426.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.0002262/0.02415, allocations: 165.3 kB / 477.4 MB, free: 3.215 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.02428, allocations: 96.05 kB / 477.5 MB, free: 3.121 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.02429, allocations: 7.938 kB / 477.5 MB, free: 3.113 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.081e-05/0.02432, allocations: 36.19 kB / 477.5 MB, free: 3.078 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.02452, allocations: 43.94 kB / 477.6 MB, free: 3.039 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006488/0.02517, allocations: 336.8 kB / 477.9 MB, free: 2.688 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.129e-05/0.02521, allocations: 75.92 kB / 478 MB, free: 2.594 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.02532, allocations: 40.19 kB / 478 MB, free: 2.566 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.02548, allocations: 121.3 kB / 478.1 MB, free: 2.453 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/0.02549, allocations: 0 / 478.1 MB, free: 2.453 MB / 426.7 MB Notification: Performance of Templates: time 0.00528/0.03077, allocations: 3.456 MB / 481.6 MB, free: 15.24 MB / 442.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.589112014044076]