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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") translateModel(IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 189.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4553/0.4553, allocations: 87.5 MB / 104.9 MB, free: 13.01 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 222.9 MB / 349.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009511/0.0009511, allocations: 97.59 kB / 420 MB, free: 8.457 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 59.91 kB / 0.4891 GB, free: 7.668 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.347, allocations: 70.06 MB / 0.5575 GB, free: 44.79 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.004905/0.3519, allocations: 4.742 MB / 0.5621 GB, free: 40.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.354, allocations: 2.722 MB / 0.5648 GB, free: 37.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.3541, allocations: 3.938 kB / 0.5648 GB, free: 37.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.3545, allocations: 39.75 kB / 0.5648 GB, free: 37.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002234/0.3547, allocations: 91.47 kB / 0.5649 GB, free: 37.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.3558, allocations: 463.5 kB / 0.5653 GB, free: 37.08 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.356, allocations: 307.8 kB / 0.5656 GB, free: 36.78 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.723e-05/0.3561, allocations: 13.56 kB / 0.5656 GB, free: 36.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.3562, allocations: 107.6 kB / 0.5657 GB, free: 36.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.3563, allocations: 95.64 kB / 0.5658 GB, free: 36.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.3563, allocations: 8 kB / 0.5658 GB, free: 36.56 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005383/0.3569, allocations: 371.2 kB / 0.5662 GB, free: 36.2 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.19e-05/0.357, allocations: 35.89 kB / 0.5662 GB, free: 36.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.125e-05/0.357, allocations: 79.59 kB / 0.5663 GB, free: 36.08 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004341/0.3575, allocations: 361.2 kB / 0.5667 GB, free: 35.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3575, allocations: 0 / 0.5667 GB, free: 35.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.3575, allocations: 0 / 0.5667 GB, free: 35.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.3575, allocations: 0 / 0.5667 GB, free: 35.73 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.000553/0.3581, allocations: 0.5031 MB / 0.5671 GB, free: 35.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.3581, allocations: 12.03 kB / 0.5672 GB, free: 35.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.3583, allocations: 24.73 kB / 0.5672 GB, free: 35.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.3584, allocations: 216.1 kB / 0.5674 GB, free: 34.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.3584, allocations: 8.703 kB / 0.5674 GB, free: 34.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.3585, allocations: 16.38 kB / 0.5674 GB, free: 34.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.3587, allocations: 248.2 kB / 0.5676 GB, free: 34.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.016e-06/0.3588, allocations: 4 kB / 0.5677 GB, free: 34.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.3588, allocations: 11.98 kB / 0.5677 GB, free: 34.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.3588, allocations: 4 kB / 0.5677 GB, free: 34.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003378/0.3592, allocations: 431.5 kB / 0.5681 GB, free: 34.17 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008486/0.36, allocations: 0.9525 MB / 0.569 GB, free: 33.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.3602, allocations: 158.9 kB / 0.5692 GB, free: 32.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.935e-05/0.3603, allocations: 64.81 kB / 0.5692 GB, free: 32.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008324/0.3612, allocations: 1.829 MB / 0.571 GB, free: 30.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.3612, allocations: 38.5 kB / 0.571 GB, free: 30.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.3612, allocations: 0 / 0.571 GB, free: 30.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002753/0.3615, allocations: 149.1 kB / 0.5712 GB, free: 30.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.067e-05/0.3615, allocations: 55.34 kB / 0.5712 GB, free: 30.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.3616, allocations: 175.2 kB / 0.5714 GB, free: 30.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.3617, allocations: 29.7 kB / 0.5714 GB, free: 30.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.462e-05/0.3617, allocations: 143.8 kB / 0.5716 GB, free: 30.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.3617, allocations: 47.36 kB / 0.5716 GB, free: 30.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.3618, allocations: 53.61 kB / 0.5717 GB, free: 29.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.667e-05/0.3618, allocations: 330.8 kB / 0.572 GB, free: 29.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.542e-05/0.3619, allocations: 31.98 kB / 0.572 GB, free: 29.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.289e-05/0.362, allocations: 150 kB / 0.5722 GB, free: 29.42 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.3622, allocations: 201.5 kB / 0.5724 GB, free: 29.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3622, allocations: 4 kB / 0.5724 GB, free: 29.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002499/0.3624, allocations: 213.1 kB / 0.5726 GB, free: 28.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3625, allocations: 8 kB / 0.5726 GB, free: 28.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3625, allocations: 4 kB / 0.5726 GB, free: 28.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3625, allocations: 4 kB / 0.5726 GB, free: 28.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.3626, allocations: 59.84 kB / 0.5726 GB, free: 28.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.3627, allocations: 8 kB / 0.5726 GB, free: 28.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.989e-05/0.3628, allocations: 24.16 kB / 0.5727 GB, free: 28.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.3628, allocations: 20 kB / 0.5727 GB, free: 28.83 MB / 410.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 7.68e-05/0.3629, allocations: 139 kB / 0.5728 GB, free: 28.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.3629, allocations: 11.91 kB / 0.5728 GB, free: 28.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.3632, allocations: 161.5 kB / 0.573 GB, free: 28.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.3632, allocations: 3.938 kB / 0.573 GB, free: 28.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.3632, allocations: 0 / 0.573 GB, free: 28.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3632, allocations: 0 / 0.573 GB, free: 28.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.3634, allocations: 213.6 kB / 0.5732 GB, free: 28.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3634, allocations: 8 kB / 0.5732 GB, free: 28.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.732e-05/0.3635, allocations: 23.98 kB / 0.5732 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3635, allocations: 4 kB / 0.5732 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.3635, allocations: 0 / 0.5732 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3635, allocations: 7.875 kB / 0.5732 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3635, allocations: 0 / 0.5732 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000387/0.3639, allocations: 0.8135 MB / 0.574 GB, free: 27.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.487e-05/0.364, allocations: 112.8 kB / 0.5741 GB, free: 27.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.364, allocations: 4 kB / 0.5741 GB, free: 27.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.3642, allocations: 15.98 kB / 0.5741 GB, free: 27.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.3642, allocations: 15.95 kB / 0.5742 GB, free: 27.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.3642, allocations: 12 kB / 0.5742 GB, free: 27.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.824e-05/0.3643, allocations: 122.1 kB / 0.5743 GB, free: 27.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3643, allocations: 0 / 0.5743 GB, free: 27.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004421/0.3648, allocations: 79.98 kB / 0.5744 GB, free: 26.96 MB / 410.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.0002605/0.365, allocations: 179.1 kB / 0.5745 GB, free: 26.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001809/0.3652, allocations: 123 kB / 0.5747 GB, free: 26.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3652, allocations: 4 kB / 0.5747 GB, free: 26.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.234e-05/0.3653, allocations: 43.92 kB / 0.5747 GB, free: 26.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.3657, allocations: 47.89 kB / 0.5747 GB, free: 26.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006355/0.3664, allocations: 0.5305 MB / 0.5753 GB, free: 25.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.3665, allocations: 0.717 MB / 0.576 GB, free: 25.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001493/0.3666, allocations: 49.84 kB / 0.576 GB, free: 25.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.3667, allocations: 27.44 kB / 0.576 GB, free: 25.18 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3667, allocations: 0 / 0.576 GB, free: 25.18 MB / 410.7 MB Notification: Performance of Templates: time 0.005505/0.3722, allocations: 3.366 MB / 0.5793 GB, free: 21.84 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.makefile (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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1)