Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008572/0.0008573, allocations: 88.53 kB / 16.66 MB, free: 5.742 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.0009679/0.0009681, allocations: 181.7 kB / 17.57 MB, free: 5.477 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.333/1.333, allocations: 223.3 MB / 241.6 MB, free: 14.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7294/0.7294, allocations: 115.5 MB / 408.2 MB, free: 7.062 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003557, allocations: 11.94 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3654, allocations: 77.52 MB / 0.5606 GB, free: 35.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003587/0.369, allocations: 3.4 MB / 0.5639 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000163/0.3692, allocations: 157.6 kB / 0.564 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.501e-05/0.3693, allocations: 0 / 0.564 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.576e-05/0.3694, allocations: 2.281 kB / 0.564 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.08e-05/0.3694, allocations: 14.16 kB / 0.5641 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002865/0.3697, allocations: 79.38 kB / 0.5641 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.3698, allocations: 58.91 kB / 0.5642 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.625e-05/0.3699, allocations: 5.219 kB / 0.5642 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.039e-05/0.3699, allocations: 16.19 kB / 0.5642 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.763e-05/0.37, allocations: 9.422 kB / 0.5642 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.37, allocations: 2.281 kB / 0.5642 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005341/0.3706, allocations: 194 kB / 0.5644 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.304e-05/0.3706, allocations: 11.75 kB / 0.5644 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.551e-05/0.3707, allocations: 38.45 kB / 0.5645 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.3708, allocations: 29.44 kB / 0.5645 GB, free: 32.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3708, allocations: 0 / 0.5645 GB, free: 32.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3708, allocations: 0.9688 kB / 0.5645 GB, free: 32.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.3708, allocations: 0 / 0.5645 GB, free: 32.67 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002905/0.3711, allocations: 329 kB / 0.5648 GB, free: 32.31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3712, allocations: 9.719 kB / 0.5648 GB, free: 32.31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.3712, allocations: 6.969 kB / 0.5648 GB, free: 32.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.523e-05/0.3713, allocations: 168 kB / 0.565 GB, free: 32.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.382e-05/0.3713, allocations: 28.22 kB / 0.565 GB, free: 32.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.3714, allocations: 9.375 kB / 0.565 GB, free: 32.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.3715, allocations: 44.11 kB / 0.565 GB, free: 32.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.3715, allocations: 1.438 kB / 0.5651 GB, free: 32.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3715, allocations: 1.25 kB / 0.5651 GB, free: 32.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.834e-05/0.3715, allocations: 2.016 kB / 0.5651 GB, free: 32.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.699e-05/0.3716, allocations: 20.88 kB / 0.5651 GB, free: 32.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.372, allocations: 337 kB / 0.5654 GB, free: 31.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.118e-05/0.372, allocations: 17.92 kB / 0.5654 GB, free: 31.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.423e-05/0.372, allocations: 11.05 kB / 0.5654 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.999e-05/0.3721, allocations: 85.36 kB / 0.5655 GB, free: 31.53 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.3721, allocations: 33.91 kB / 0.5655 GB, free: 31.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.3721, allocations: 0 / 0.5655 GB, free: 31.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001345/0.3723, allocations: 42.88 kB / 0.5656 GB, free: 31.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.3723, allocations: 52.2 kB / 0.5656 GB, free: 31.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.82e-05/0.3724, allocations: 106.4 kB / 0.5657 GB, free: 31.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.3724, allocations: 27.73 kB / 0.5658 GB, free: 31.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.911e-05/0.3724, allocations: 85.92 kB / 0.5658 GB, free: 31.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.703e-06/0.3724, allocations: 10.39 kB / 0.5658 GB, free: 31.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.928e-05/0.3725, allocations: 11.19 kB / 0.5659 GB, free: 31.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.928e-05/0.3725, allocations: 321.7 kB / 0.5662 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.456e-05/0.3725, allocations: 3.469 kB / 0.5662 GB, free: 30.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.935e-05/0.3726, allocations: 17.09 kB / 0.5662 GB, free: 30.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.028e-05/0.3726, allocations: 24.95 kB / 0.5662 GB, free: 30.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3726, allocations: 1.75 kB / 0.5662 GB, free: 30.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.473e-05/0.3727, allocations: 49.73 kB / 0.5663 GB, free: 30.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.3727, allocations: 5.906 kB / 0.5663 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3727, allocations: 0 / 0.5663 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.3727, allocations: 3.062 kB / 0.5663 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.26e-05/0.3728, allocations: 6.094 kB / 0.5663 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.3728, allocations: 0.9062 kB / 0.5663 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.864e-05/0.3728, allocations: 1.188 kB / 0.5663 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.3728, allocations: 4.203 kB / 0.5663 GB, free: 30.74 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 5.227e-05/0.3729, allocations: 112.5 kB / 0.5664 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.3729, allocations: 1.406 kB / 0.5664 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.307e-05/0.373, allocations: 126.9 kB / 0.5665 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.851e-05/0.373, allocations: 180.6 kB / 0.5667 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.592e-05/0.3731, allocations: 182.2 kB / 0.5669 GB, free: 30.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-05/0.3731, allocations: 182.4 kB / 0.567 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.3732, allocations: 409.3 kB / 0.5674 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/0.3733, allocations: 111.5 kB / 0.5675 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.852e-05/0.3733, allocations: 103.1 kB / 0.5676 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.724e-05/0.3733, allocations: 178.4 kB / 0.5678 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.3733, allocations: 182.1 kB / 0.568 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.864e-05/0.3734, allocations: 183.9 kB / 0.5681 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.779e-05/0.3734, allocations: 183 kB / 0.5683 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.085e-05/0.3735, allocations: 307 kB / 0.5686 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.462e-05/0.3735, allocations: 190.2 kB / 0.5688 GB, free: 28.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.3736, allocations: 178.8 kB / 0.569 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.3737, allocations: 116.6 kB / 0.5691 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.3738, allocations: 178.1 kB / 0.5692 GB, free: 27.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.3738, allocations: 107 kB / 0.5693 GB, free: 27.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.232e-05/0.3738, allocations: 90.5 kB / 0.5694 GB, free: 27.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3738, allocations: 1.312 kB / 0.5694 GB, free: 27.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.3741, allocations: 17.25 kB / 0.5694 GB, free: 27.36 MB / 446.1 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002149/0.3743, allocations: 196.9 kB / 0.5696 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.315e-05/0.3744, allocations: 11.11 kB / 0.5696 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3744, allocations: 0.6875 kB / 0.5696 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.3744, allocations: 2.438 kB / 0.5696 GB, free: 27.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.3747, allocations: 0.5238 MB / 0.5702 GB, free: 26.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002131/0.3749, allocations: 225 kB / 0.5704 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.375, allocations: 0.675 MB / 0.571 GB, free: 25.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.819e-05/0.3751, allocations: 11.28 kB / 0.571 GB, free: 25.74 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3751, allocations: 1.188 kB / 0.571 GB, free: 25.74 MB / 446.1 MB Notification: Performance of Templates: time 0.002247/0.3773, allocations: 0.7443 MB / 0.5718 GB, free: 25.72 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)