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: "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006846/0.0006845, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007366/0.0007366, allocations: 177.2 kB / 16.58 MB, free: 6.852 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.166/1.166, allocations: 223.3 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5958/0.5958, allocations: 113.7 MB / 405.4 MB, free: 4.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002612/0.0002613, allocations: 8 kB / 493.1 MB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1159, allocations: 77.11 MB / 0.5569 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003602/0.1195, allocations: 3.274 MB / 0.5601 GB, free: 8.398 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001675/0.1197, allocations: 151.6 kB / 0.5602 GB, free: 8.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.764e-05/0.1197, allocations: 4 kB / 0.5602 GB, free: 8.246 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.171e-05/0.1198, allocations: 3.938 kB / 0.5602 GB, free: 8.242 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.721e-05/0.1199, allocations: 3.984 kB / 0.5602 GB, free: 8.238 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.1201, allocations: 71.77 kB / 0.5603 GB, free: 8.168 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.987e-05/0.1202, allocations: 47.83 kB / 0.5604 GB, free: 8.121 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.888e-05/0.1202, allocations: 0 / 0.5604 GB, free: 8.121 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.181e-05/0.1203, allocations: 15.98 kB / 0.5604 GB, free: 8.105 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.024e-05/0.1203, allocations: 11.92 kB / 0.5604 GB, free: 8.094 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.1203, allocations: 4 kB / 0.5604 GB, free: 8.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004112/0.1207, allocations: 151.6 kB / 0.5605 GB, free: 7.941 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.545e-05/0.1208, allocations: 11.98 kB / 0.5605 GB, free: 7.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.036e-05/0.1208, allocations: 25.7 kB / 0.5606 GB, free: 7.898 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.393e-05/0.1209, allocations: 24.27 kB / 0.5606 GB, free: 7.875 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1209, allocations: 0 / 0.5606 GB, free: 7.875 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1209, allocations: 0 / 0.5606 GB, free: 7.875 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.1209, allocations: 0 / 0.5606 GB, free: 7.875 MB / 430.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.0002798/0.1212, allocations: 331.3 kB / 0.5609 GB, free: 7.504 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.1212, allocations: 8.031 kB / 0.5609 GB, free: 7.496 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.182e-05/0.1213, allocations: 42.55 kB / 0.5609 GB, free: 7.445 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.351e-05/0.1213, allocations: 7.844 kB / 0.561 GB, free: 7.438 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.495e-05/0.1214, allocations: 167 kB / 0.5611 GB, free: 7.234 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.796e-05/0.1214, allocations: 33.66 kB / 0.5611 GB, free: 7.195 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.1215, allocations: 0 / 0.5611 GB, free: 7.195 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.587e-05/0.1216, allocations: 41.69 kB / 0.5612 GB, free: 7.148 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.1216, allocations: 0 / 0.5612 GB, free: 7.148 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.1216, allocations: 0 / 0.5612 GB, free: 7.148 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.1216, allocations: 7.984 kB / 0.5612 GB, free: 7.141 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.522e-05/0.1216, allocations: 12 kB / 0.5612 GB, free: 7.129 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.122, allocations: 342 kB / 0.5615 GB, free: 6.727 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.78e-05/0.122, allocations: 18.58 kB / 0.5616 GB, free: 6.699 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.235e-05/0.1221, allocations: 8.922 kB / 0.5616 GB, free: 6.688 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.515e-05/0.1221, allocations: 85.09 kB / 0.5616 GB, free: 6.586 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.1222, allocations: 34.56 kB / 0.5617 GB, free: 6.543 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1222, allocations: 0 / 0.5617 GB, free: 6.543 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001113/0.1223, allocations: 37.64 kB / 0.5617 GB, free: 6.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.1223, allocations: 55.39 kB / 0.5618 GB, free: 6.434 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.672e-05/0.1224, allocations: 101.8 kB / 0.5619 GB, free: 6.324 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.1224, allocations: 25.7 kB / 0.5619 GB, free: 6.293 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.1225, allocations: 92.05 kB / 0.562 GB, free: 6.199 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.24e-06/0.1225, allocations: 3.984 kB / 0.562 GB, free: 6.195 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-06/0.1225, allocations: 4.125 kB / 0.562 GB, free: 6.191 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.96e-05/0.1226, allocations: 314.8 kB / 0.5623 GB, free: 5.875 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/0.1226, allocations: 4 kB / 0.5623 GB, free: 5.871 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.827e-05/0.1226, allocations: 17.72 kB / 0.5623 GB, free: 5.848 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.811e-05/0.1226, allocations: 7.984 kB / 0.5623 GB, free: 5.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1226, allocations: 0 / 0.5623 GB, free: 5.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.826e-05/0.1227, allocations: 49.55 kB / 0.5624 GB, free: 5.785 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.1227, allocations: 12.05 kB / 0.5624 GB, free: 5.773 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1227, allocations: 4 kB / 0.5624 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.1228, allocations: 0 / 0.5624 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.707e-05/0.1228, allocations: 4 kB / 0.5624 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.1228, allocations: 0 / 0.5624 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.807e-05/0.1228, allocations: 7.938 kB / 0.5624 GB, free: 5.758 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.1228, allocations: 0 / 0.5624 GB, free: 5.758 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.381e-05/0.1229, allocations: 109.8 kB / 0.5625 GB, free: 5.641 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.1229, allocations: 4 kB / 0.5625 GB, free: 5.637 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.812e-05/0.123, allocations: 128.9 kB / 0.5626 GB, free: 5.496 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.155e-05/0.1231, allocations: 176.3 kB / 0.5628 GB, free: 5.316 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.304e-05/0.1231, allocations: 180.2 kB / 0.563 GB, free: 5.133 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.372e-05/0.1232, allocations: 176.3 kB / 0.5631 GB, free: 4.953 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.1234, allocations: 417.1 kB / 0.5635 GB, free: 4.488 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.279e-05/0.1234, allocations: 108.9 kB / 0.5636 GB, free: 4.375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.879e-05/0.1235, allocations: 105 kB / 0.5637 GB, free: 4.266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.976e-05/0.1235, allocations: 180.2 kB / 0.5639 GB, free: 4.082 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.413e-05/0.1236, allocations: 180.3 kB / 0.5641 GB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.157e-05/0.1236, allocations: 180.2 kB / 0.5642 GB, free: 3.715 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.781e-05/0.1237, allocations: 188.2 kB / 0.5644 GB, free: 3.523 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.1238, allocations: 308 kB / 0.5647 GB, free: 3.199 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.1239, allocations: 186 kB / 0.5649 GB, free: 2.992 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.948e-05/0.1239, allocations: 188.2 kB / 0.5651 GB, free: 2.801 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.1241, allocations: 109 kB / 0.5652 GB, free: 2.688 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.164e-05/0.1242, allocations: 180.3 kB / 0.5653 GB, free: 2.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.1242, allocations: 112.9 kB / 0.5655 GB, free: 2.387 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.746e-05/0.1242, allocations: 83.28 kB / 0.5655 GB, free: 2.305 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1242, allocations: 0 / 0.5655 GB, free: 2.305 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002227/0.1245, allocations: 19.94 kB / 0.5656 GB, free: 2.285 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003394/0.1248, allocations: 0.825 MB / 0.5664 GB, free: 1.434 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.104e-05/0.1249, allocations: 11.94 kB / 0.5664 GB, free: 1.422 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1249, allocations: 0 / 0.5664 GB, free: 1.422 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.1249, allocations: 0 / 0.5664 GB, free: 1.422 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.1253, allocations: 0.5233 MB / 0.5669 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003139/0.1256, allocations: 233.4 kB / 0.5671 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/0.1258, allocations: 0.6692 MB / 0.5678 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.762e-05/0.1258, allocations: 11.61 kB / 0.5678 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246e-05/0.1259, allocations: 15.42 kB / 0.5678 GB, free: 15.9 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1259, allocations: 0 / 0.5678 GB, free: 15.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009448/0.1353, allocations: 1.235 MB / 0.569 GB, free: 14.86 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/0.1355, allocations: 207.3 kB / 0.5692 GB, free: 14.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.373/1.508, allocations: 0 / 0.5692 GB, free: 14.62 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: