Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamProperties") translateModel(IBPSA.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 102.5 kB / 16.52 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 195.2 kB / 17.44 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 222.9 MB / 241.1 MB, free: 13.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7034/0.7034, allocations: 115.3 MB / 406.6 MB, free: 6.496 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 63.91 kB / 493.5 MB, free: 0.8359 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3811, allocations: 76.17 MB / 0.5564 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.13/0.5111, allocations: 134 MB / 0.6872 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03005/0.5412, allocations: 25.16 MB / 0.7118 GB, free: 5.047 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.5414, allocations: 0 / 0.7118 GB, free: 5.047 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.5417, allocations: 43.8 kB / 0.7118 GB, free: 5.004 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003058/0.542, allocations: 79.44 kB / 0.7119 GB, free: 4.926 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01479/0.5568, allocations: 5.498 MB / 0.7173 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004009/0.5572, allocations: 307.8 kB / 0.7176 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.264e-05/0.5573, allocations: 9.562 kB / 0.7176 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003368/0.5576, allocations: 135.5 kB / 0.7177 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.5578, allocations: 91.59 kB / 0.7178 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.5579, allocations: 8 kB / 0.7178 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01958/0.5774, allocations: 11.51 MB / 0.729 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.5776, allocations: 39.88 kB / 0.7291 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.5777, allocations: 83.59 kB / 0.7292 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00752/0.5853, allocations: 4.347 MB / 0.7334 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.5853, allocations: 0 / 0.7334 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.213e-06/0.5853, allocations: 0 / 0.7334 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.5853, allocations: 0 / 0.7334 GB, free: 14.91 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003224/0.5885, allocations: 1.203 MB / 0.7346 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.5886, allocations: 15.97 kB / 0.7346 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.5897, allocations: 84.66 kB / 0.7347 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.59, allocations: 224.1 kB / 0.7349 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.59, allocations: 16.12 kB / 0.7349 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.59, allocations: 16 kB / 0.7349 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.5912, allocations: 456.8 kB / 0.7354 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.567e-06/0.5912, allocations: 4 kB / 0.7354 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.5913, allocations: 8 kB / 0.7354 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.5913, allocations: 4 kB / 0.7354 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.5926, allocations: 0.6008 MB / 0.736 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.5936, allocations: 0.8783 MB / 0.7368 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008465/0.5945, allocations: 254.4 kB / 0.7371 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.5946, allocations: 73.7 kB / 0.7371 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3384/0.933, allocations: 35.04 MB / 0.7713 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.9331, allocations: 37.64 kB / 0.7714 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=25): time 2.134e-06/0.9331, allocations: 0 / 0.7714 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=25): time 0.001929/0.935, allocations: 430.1 kB / 0.7718 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.9351, allocations: 58.06 kB / 0.7718 GB, free: 154 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.9352, allocations: 141.2 kB / 0.772 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/0.9352, allocations: 32.58 kB / 0.772 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.545e-05/0.9353, allocations: 102.4 kB / 0.7721 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.019e-05/0.9354, allocations: 86.47 kB / 0.7722 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.9355, allocations: 83.08 kB / 0.7723 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.154e-05/0.9356, allocations: 322.3 kB / 0.7726 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.9358, allocations: 83.86 kB / 0.7727 GB, free: 153.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002609/0.9361, allocations: 133.3 kB / 0.7728 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004586/0.9365, allocations: 218.3 kB / 0.773 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.9365, allocations: 1.094 kB / 0.773 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007987/0.9373, allocations: 303.8 kB / 0.7733 GB, free: 153 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.9374, allocations: 5.406 kB / 0.7733 GB, free: 153 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.9374, allocations: 1.656 kB / 0.7733 GB, free: 153 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.9374, allocations: 3.484 kB / 0.7733 GB, free: 153 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/0.9377, allocations: 79.91 kB / 0.7734 GB, free: 153 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.9377, allocations: 11.88 kB / 0.7734 GB, free: 153 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.9379, allocations: 26.58 kB / 0.7734 GB, free: 153 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.707e-05/0.938, allocations: 23.47 kB / 0.7734 GB, free: 153 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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): 30 * Array equations: 0 * 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.0001315/0.9381, allocations: 130.5 kB / 0.7736 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.9383, allocations: 18.19 kB / 0.7736 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002475/0.9408, allocations: 2.338 MB / 0.7759 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/0.9408, allocations: 12.89 kB / 0.7759 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.9408, allocations: 5.125 kB / 0.7759 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.9409, allocations: 1.641 kB / 0.7759 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003275/0.9441, allocations: 3.424 MB / 0.7792 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.9442, allocations: 0 / 0.7792 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002749/0.9444, allocations: 55.48 kB / 0.7793 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.9445, allocations: 5.094 kB / 0.7793 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.9445, allocations: 10.17 kB / 0.7793 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.9445, allocations: 1.594 kB / 0.7793 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.9445, allocations: 0 / 0.7793 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007516/0.9453, allocations: 0.5515 MB / 0.7798 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.9454, allocations: 148.4 kB / 0.78 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.9454, allocations: 11.97 kB / 0.78 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.9457, allocations: 15.27 kB / 0.78 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.9457, allocations: 12.72 kB / 0.78 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.144e-05/0.9458, allocations: 16.11 kB / 0.78 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.591e-05/0.9458, allocations: 105.8 kB / 0.7801 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9458, allocations: 4 kB / 0.7801 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004626/0.9505, allocations: 1.689 MB / 0.7818 GB, free: 149.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.008925/0.9594, allocations: 1.94 MB / 0.7837 GB, free: 148.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008168/0.9603, allocations: 326.1 kB / 0.784 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.9603, allocations: 1.125 kB / 0.784 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003773/0.9607, allocations: 237.4 kB / 0.7842 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006157/0.9613, allocations: 65.86 kB / 0.7843 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.9624, allocations: 0.7923 MB / 0.785 GB, free: 148.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.9626, allocations: 0.7654 MB / 0.7858 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001776/0.9628, allocations: 51.53 kB / 0.7858 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.9628, allocations: 0 / 0.7858 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.03892/1.002, allocations: 32.79 MB / 0.8179 GB, free: 118.7 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamProperties.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe 2>&1)