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.007319/0.007319, allocations: 100.8 kB / 15.87 MB, free: 6.312 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.001701/0.0017, allocations: 198.2 kB / 16.79 MB, free: 6.242 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.425/1.425, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6795/0.6795, allocations: 115.3 MB / 406 MB, free: 2.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 68.55 kB / 493 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1234, allocations: 76.17 MB / 0.5558 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005573/0.129, allocations: 3.771 MB / 0.5595 GB, free: 6.953 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002092/0.1293, allocations: 159.5 kB / 0.5597 GB, free: 6.797 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.736e-05/0.1293, allocations: 3.938 kB / 0.5597 GB, free: 6.793 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.204e-05/0.1294, allocations: 4 kB / 0.5597 GB, free: 6.789 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.042e-05/0.1295, allocations: 15.91 kB / 0.5597 GB, free: 6.773 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.1298, allocations: 71.83 kB / 0.5598 GB, free: 6.703 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.219e-05/0.1299, allocations: 59.8 kB / 0.5598 GB, free: 6.645 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.989e-05/0.13, allocations: 0 / 0.5598 GB, free: 6.645 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.192e-05/0.13, allocations: 16 kB / 0.5598 GB, free: 6.629 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.371e-05/0.1301, allocations: 15.86 kB / 0.5598 GB, free: 6.613 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.1301, allocations: 11.94 kB / 0.5599 GB, free: 6.602 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005498/0.1307, allocations: 191.4 kB / 0.56 GB, free: 6.414 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.888e-05/0.1307, allocations: 8 kB / 0.56 GB, free: 6.406 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.1308, allocations: 15.91 kB / 0.5601 GB, free: 6.391 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.1309, allocations: 44.12 kB / 0.5601 GB, free: 6.348 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1309, allocations: 0 / 0.5601 GB, free: 6.348 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.1309, allocations: 0 / 0.5601 GB, free: 6.348 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.1309, allocations: 0 / 0.5601 GB, free: 6.348 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.0003351/0.1313, allocations: 343.6 kB / 0.5604 GB, free: 5.965 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1313, allocations: 8.031 kB / 0.5604 GB, free: 5.957 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.364e-05/0.1313, allocations: 30.75 kB / 0.5605 GB, free: 5.918 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.1314, allocations: 4.938 kB / 0.5605 GB, free: 5.914 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.883e-05/0.1315, allocations: 164.4 kB / 0.5606 GB, free: 5.715 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.373e-05/0.1315, allocations: 26.27 kB / 0.5607 GB, free: 5.684 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.1316, allocations: 4.125 kB / 0.5607 GB, free: 5.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.1317, allocations: 45.69 kB / 0.5607 GB, free: 5.629 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.1317, allocations: 4 kB / 0.5607 GB, free: 5.625 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.1317, allocations: 0 / 0.5607 GB, free: 5.625 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.1317, allocations: 0 / 0.5607 GB, free: 5.625 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.902e-05/0.1318, allocations: 23.92 kB / 0.5607 GB, free: 5.602 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.1322, allocations: 341.8 kB / 0.5611 GB, free: 5.199 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.671e-05/0.1322, allocations: 18.58 kB / 0.5611 GB, free: 5.172 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.408e-05/0.1323, allocations: 4.859 kB / 0.5611 GB, free: 5.164 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.156e-05/0.1323, allocations: 89.16 kB / 0.5612 GB, free: 5.059 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.1324, allocations: 34.56 kB / 0.5612 GB, free: 5.016 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 2.375e-06/0.1324, allocations: 0 / 0.5612 GB, free: 5.016 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001293/0.1325, allocations: 37.64 kB / 0.5612 GB, free: 4.973 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.1326, allocations: 51.41 kB / 0.5613 GB, free: 4.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.958e-05/0.1326, allocations: 101.8 kB / 0.5614 GB, free: 4.801 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.1327, allocations: 29.7 kB / 0.5614 GB, free: 4.766 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/0.1327, allocations: 88.17 kB / 0.5615 GB, free: 4.676 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.222e-06/0.1327, allocations: 4 kB / 0.5615 GB, free: 4.672 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.1327, allocations: 13.72 kB / 0.5615 GB, free: 4.652 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.348e-05/0.1328, allocations: 322.8 kB / 0.5618 GB, free: 4.328 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/0.1329, allocations: 0 / 0.5618 GB, free: 4.328 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.325e-05/0.1329, allocations: 13.72 kB / 0.5618 GB, free: 4.309 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.836e-05/0.1329, allocations: 33.64 kB / 0.5619 GB, free: 4.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1329, allocations: 0 / 0.5619 GB, free: 4.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.682e-05/0.133, allocations: 45.64 kB / 0.5619 GB, free: 4.219 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.133, allocations: 10.19 kB / 0.5619 GB, free: 4.211 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.1331, allocations: 3.984 kB / 0.5619 GB, free: 4.207 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.1331, allocations: 0 / 0.5619 GB, free: 4.207 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.03e-05/0.1331, allocations: 7.938 kB / 0.5619 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1331, allocations: 0 / 0.5619 GB, free: 4.199 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.337e-05/0.1332, allocations: 8.188 kB / 0.5619 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1332, allocations: 4.062 kB / 0.5619 GB, free: 4.188 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.357e-05/0.1332, allocations: 113.8 kB / 0.562 GB, free: 4.066 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.1333, allocations: 0 / 0.562 GB, free: 4.066 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.1334, allocations: 128.9 kB / 0.5622 GB, free: 3.934 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.32e-05/0.1335, allocations: 176.3 kB / 0.5623 GB, free: 3.754 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.946e-05/0.1335, allocations: 176.3 kB / 0.5625 GB, free: 3.574 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.103e-05/0.1336, allocations: 188.2 kB / 0.5627 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/0.1338, allocations: 409.2 kB / 0.5631 GB, free: 2.926 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-05/0.1338, allocations: 112.9 kB / 0.5632 GB, free: 2.809 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.013e-05/0.1338, allocations: 101 kB / 0.5633 GB, free: 2.703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.846e-05/0.1339, allocations: 176.3 kB / 0.5634 GB, free: 2.523 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.228e-05/0.134, allocations: 196.1 kB / 0.5636 GB, free: 2.324 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.365e-05/0.134, allocations: 180.3 kB / 0.5638 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.996e-05/0.1341, allocations: 180.2 kB / 0.564 GB, free: 1.957 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.1342, allocations: 311.7 kB / 0.5643 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/0.1343, allocations: 182.1 kB / 0.5644 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.486e-05/0.1343, allocations: 184.2 kB / 0.5646 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.1345, allocations: 104.9 kB / 0.5647 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.014e-05/0.1346, allocations: 180.3 kB / 0.5649 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.73e-05/0.1347, allocations: 104.9 kB / 0.565 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.093e-05/0.1347, allocations: 87.27 kB / 0.5651 GB, free: 0.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1347, allocations: 0 / 0.5651 GB, free: 0.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.135, allocations: 23.88 kB / 0.5651 GB, free: 0.7266 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 (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.0005827/0.1356, allocations: 0.8282 MB / 0.5659 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.052e-05/0.1357, allocations: 15.92 kB / 0.5659 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1357, allocations: 0 / 0.5659 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.853e-06/0.1357, allocations: 336 / 0.5659 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.1361, allocations: 0.525 MB / 0.5664 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.1372, allocations: 1.326 MB / 0.5677 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.1375, allocations: 0.6731 MB / 0.5684 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.055e-05/0.1375, allocations: 4.875 kB / 0.5684 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.1375, allocations: 11.44 kB / 0.5684 GB, free: 13.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1376, allocations: 3.938 kB / 0.5684 GB, free: 13.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2119/0.3494, allocations: 1.392 MB / 0.5698 GB, free: 11.96 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/0.3497, allocations: 222 kB / 0.57 GB, free: 11.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.216, allocations: 0 / 0.57 GB, free: 11.71 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/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)