Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001005/0.001005, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.0009787/0.0009787, allocations: 165 kB / 23.8 MB, free: 0.7695 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.9707/0.9707, allocations: 177.1 MB / 204.2 MB, free: 5.117 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6191/0.6191, allocations: 114.9 MB / 375.7 MB, free: 7.605 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") translateModel(IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 3.531 kB / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.785e-05/1.986e-05, allocations: 5.094 kB / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.005866/0.005886, allocations: 4.873 MB / 486.4 MB, free: 8.551 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.008258, allocations: 2.829 MB / 489.2 MB, free: 6.664 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.447e-05/0.008353, allocations: 1.656 kB / 489.2 MB, free: 6.664 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.008612, allocations: 58.48 kB / 489.3 MB, free: 6.633 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.008837, allocations: 100 kB / 489.4 MB, free: 6.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.009935, allocations: 0.5716 MB / 490 MB, free: 6.262 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.01017, allocations: 249.8 kB / 490.2 MB, free: 6.148 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.01021, allocations: 7.125 kB / 490.2 MB, free: 6.148 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.01043, allocations: 163.3 kB / 490.4 MB, free: 6.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.01054, allocations: 80.7 kB / 490.5 MB, free: 6.066 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.01057, allocations: 7.75 kB / 490.5 MB, free: 6.066 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004567/0.01102, allocations: 331.4 kB / 490.8 MB, free: 5.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.849e-05/0.01109, allocations: 40.64 kB / 490.8 MB, free: 5.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.905e-05/0.01115, allocations: 56.58 kB / 490.9 MB, free: 5.895 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004695/0.01162, allocations: 365.7 kB / 491.2 MB, free: 5.766 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.01162, allocations: 0.9062 kB / 491.2 MB, free: 5.766 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.01162, allocations: 0 / 491.2 MB, free: 5.766 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.01163, allocations: 1.438 kB / 491.2 MB, free: 5.766 MB / 410.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.0005402/0.01217, allocations: 0.5361 MB / 491.8 MB, free: 5.293 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.01221, allocations: 9.312 kB / 491.8 MB, free: 5.293 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.01236, allocations: 50.14 kB / 491.8 MB, free: 5.266 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.01251, allocations: 161.4 kB / 492 MB, free: 5.113 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.01252, allocations: 11.67 kB / 492 MB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.01254, allocations: 21.56 kB / 492 MB, free: 5.102 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.0128, allocations: 440.7 kB / 492.5 MB, free: 4.691 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.01281, allocations: 192 / 492.5 MB, free: 4.691 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.01283, allocations: 11.91 kB / 492.5 MB, free: 4.684 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.1e-05/0.01286, allocations: 6.5 kB / 492.5 MB, free: 4.684 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.0131, allocations: 298.2 kB / 492.8 MB, free: 4.648 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007799/0.01388, allocations: 0.994 MB / 493.8 MB, free: 19.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.0141, allocations: 133 kB / 493.9 MB, free: 19.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.195e-05/0.01416, allocations: 46.44 kB / 493.9 MB, free: 19.69 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004794/0.01464, allocations: 0.5262 MB / 494.5 MB, free: 19.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.01466, allocations: 40.73 kB / 494.5 MB, free: 19.24 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/0.01467, allocations: 1.062 kB / 494.5 MB, free: 19.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002311/0.0149, allocations: 126 kB / 494.6 MB, free: 19.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.746e-05/0.01491, allocations: 54.16 kB / 494.7 MB, free: 19.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.01502, allocations: 219.4 kB / 494.9 MB, free: 18.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.01504, allocations: 29.02 kB / 494.9 MB, free: 18.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.328e-05/0.01511, allocations: 197 kB / 495.1 MB, free: 18.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.01513, allocations: 54.44 kB / 495.2 MB, free: 18.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/0.01518, allocations: 61.98 kB / 495.2 MB, free: 18.63 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.0153, allocations: 0.4968 MB / 495.7 MB, free: 18.13 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.405e-05/0.01534, allocations: 27.86 kB / 495.7 MB, free: 18.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.406e-05/0.01543, allocations: 178.7 kB / 495.9 MB, free: 17.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.01558, allocations: 233.5 kB / 496.2 MB, free: 17.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.01558, allocations: 1.406 kB / 496.2 MB, free: 17.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002264/0.01581, allocations: 204.4 kB / 496.4 MB, free: 17.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.01582, allocations: 12.52 kB / 496.4 MB, free: 17.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.01583, allocations: 2.594 kB / 496.4 MB, free: 17.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.01585, allocations: 6.219 kB / 496.4 MB, free: 17.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.01597, allocations: 60.05 kB / 496.4 MB, free: 17.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.01598, allocations: 4.594 kB / 496.4 MB, free: 17.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.224e-05/0.01604, allocations: 28.03 kB / 496.5 MB, free: 17.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.01606, allocations: 12.53 kB / 496.5 MB, free: 17.57 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 8.722e-05/0.01615, allocations: 182.4 kB / 496.7 MB, free: 17.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.714e-05/0.01618, allocations: 19.45 kB / 496.7 MB, free: 17.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/0.01639, allocations: 149 kB / 496.8 MB, free: 17.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/0.0164, allocations: 6.531 kB / 496.8 MB, free: 17.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.0164, allocations: 0.9688 kB / 496.8 MB, free: 17.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.01641, allocations: 0 / 496.8 MB, free: 17.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.01655, allocations: 163 kB / 497 MB, free: 17.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.01655, allocations: 2.75 kB / 497 MB, free: 17.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.555e-05/0.01662, allocations: 29.53 kB / 497 MB, free: 17.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01662, allocations: 1.125 kB / 497 MB, free: 17.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.01663, allocations: 8.516 kB / 497 MB, free: 17.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.01663, allocations: 2.812 kB / 497 MB, free: 17.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.01663, allocations: 0 / 497 MB, free: 17.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.01681, allocations: 271.5 kB / 497.3 MB, free: 16.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/0.01686, allocations: 27.69 kB / 497.3 MB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.01687, allocations: 8.078 kB / 497.3 MB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.044e-05/0.01695, allocations: 6.25 kB / 497.3 MB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.325e-05/0.01698, allocations: 15.89 kB / 497.3 MB, free: 16.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.01699, allocations: 11.97 kB / 497.4 MB, free: 16.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.181e-05/0.01705, allocations: 148.7 kB / 497.5 MB, free: 16.76 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01705, allocations: 1.344 kB / 497.5 MB, free: 16.76 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003957/0.01745, allocations: 87.44 kB / 497.6 MB, free: 16.74 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.0002484/0.0177, allocations: 172.2 kB / 497.8 MB, free: 16.63 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.0179, allocations: 115 kB / 497.9 MB, free: 16.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.0179, allocations: 1.062 kB / 497.9 MB, free: 16.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.177e-05/0.01794, allocations: 46 kB / 497.9 MB, free: 16.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.01821, allocations: 59.89 kB / 498 MB, free: 16.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007722/0.01899, allocations: 317 kB / 498.3 MB, free: 16.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.106e-05/0.01904, allocations: 71.09 kB / 498.4 MB, free: 16.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.01915, allocations: 38.28 kB / 498.4 MB, free: 16.26 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.222e-05/0.01919, allocations: 31.64 kB / 498.4 MB, free: 16.25 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01919, allocations: 0 / 498.4 MB, free: 16.25 MB / 426.7 MB Notification: Performance of Templates: time 0.005309/0.0245, allocations: 3.05 MB / 0.4897 GB, free: 15.9 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterProperties.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterProperties -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8325955849140882]