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.001069/0.001069, allocations: 108.1 kB / 16.41 MB, free: 6.5 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.001033/0.001033, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7553/0.7553, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 72.03 kB / 0.5679 GB, free: 29.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1383, allocations: 77.93 MB / 0.644 GB, free: 9.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005759/0.1441, allocations: 3.713 MB / 0.6477 GB, free: 5.82 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002047/0.1443, allocations: 151.5 kB / 0.6478 GB, free: 5.672 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.288e-05/0.1443, allocations: 0 / 0.6478 GB, free: 5.672 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.973e-05/0.1444, allocations: 7.938 kB / 0.6478 GB, free: 5.664 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.404e-05/0.1445, allocations: 11.92 kB / 0.6478 GB, free: 5.652 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003825/0.1449, allocations: 85.88 kB / 0.6479 GB, free: 5.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.145, allocations: 35.84 kB / 0.648 GB, free: 5.535 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.606e-05/0.1451, allocations: 4 kB / 0.648 GB, free: 5.531 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.255e-05/0.1452, allocations: 19.97 kB / 0.648 GB, free: 5.512 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.088e-05/0.1452, allocations: 11.94 kB / 0.648 GB, free: 5.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.1453, allocations: 0 / 0.648 GB, free: 5.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006039/0.1459, allocations: 191.4 kB / 0.6482 GB, free: 5.312 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.144e-05/0.1459, allocations: 8 kB / 0.6482 GB, free: 5.305 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.847e-05/0.146, allocations: 7.984 kB / 0.6482 GB, free: 5.297 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.1461, allocations: 40.12 kB / 0.6482 GB, free: 5.258 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1461, allocations: 7.938 kB / 0.6482 GB, free: 5.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1461, allocations: 0 / 0.6482 GB, free: 5.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1461, allocations: 0 / 0.6482 GB, free: 5.25 MB / 494.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.0003805/0.1465, allocations: 339.4 kB / 0.6486 GB, free: 4.871 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1465, allocations: 8.625 kB / 0.6486 GB, free: 4.863 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.106e-05/0.1466, allocations: 34.75 kB / 0.6486 GB, free: 4.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.1466, allocations: 4.938 kB / 0.6486 GB, free: 4.816 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.1467, allocations: 160.4 kB / 0.6488 GB, free: 4.621 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.019e-05/0.1468, allocations: 26.27 kB / 0.6488 GB, free: 4.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.1468, allocations: 8.125 kB / 0.6488 GB, free: 4.582 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.147, allocations: 45.67 kB / 0.6488 GB, free: 4.531 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.147, allocations: 0 / 0.6488 GB, free: 4.531 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.147, allocations: 0 / 0.6488 GB, free: 4.531 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.147, allocations: 4 kB / 0.6488 GB, free: 4.527 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.652e-05/0.1471, allocations: 23.92 kB / 0.6489 GB, free: 4.504 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004162/0.1475, allocations: 337.9 kB / 0.6492 GB, free: 4.105 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.875e-05/0.1475, allocations: 26.55 kB / 0.6492 GB, free: 4.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.367e-05/0.1476, allocations: 4.859 kB / 0.6492 GB, free: 4.062 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-05/0.1477, allocations: 89.11 kB / 0.6493 GB, free: 3.957 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.1477, allocations: 34.56 kB / 0.6493 GB, free: 3.914 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/0.1477, allocations: 0 / 0.6493 GB, free: 3.914 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001353/0.1478, allocations: 41.62 kB / 0.6494 GB, free: 3.867 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.1479, allocations: 55.41 kB / 0.6494 GB, free: 3.801 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.744e-05/0.148, allocations: 93.86 kB / 0.6495 GB, free: 3.699 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.148, allocations: 25.7 kB / 0.6495 GB, free: 3.668 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.461e-05/0.148, allocations: 96.08 kB / 0.6496 GB, free: 3.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.208e-06/0.148, allocations: 0 / 0.6496 GB, free: 3.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.1481, allocations: 17.84 kB / 0.6496 GB, free: 3.547 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1482, allocations: 318.8 kB / 0.6499 GB, free: 3.227 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.737e-05/0.1482, allocations: 7.984 kB / 0.65 GB, free: 3.219 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.399e-05/0.1482, allocations: 17.89 kB / 0.65 GB, free: 3.195 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.575e-05/0.1483, allocations: 21.66 kB / 0.65 GB, free: 3.168 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1483, allocations: 4 kB / 0.65 GB, free: 3.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.132e-05/0.1484, allocations: 61.58 kB / 0.6501 GB, free: 3.098 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.1484, allocations: 4 kB / 0.6501 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1484, allocations: 0 / 0.6501 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1484, allocations: 0 / 0.6501 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.309e-05/0.1485, allocations: 8 kB / 0.6501 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1485, allocations: 3.984 kB / 0.6501 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.1485, allocations: 0 / 0.6501 GB, free: 3.082 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.1485, allocations: 4 kB / 0.6501 GB, free: 3.078 MB / 494.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 7.776e-05/0.1486, allocations: 113.8 kB / 0.6502 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.1486, allocations: 0 / 0.6502 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.1487, allocations: 128.9 kB / 0.6503 GB, free: 2.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.024e-05/0.1488, allocations: 176.3 kB / 0.6505 GB, free: 2.641 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-05/0.1489, allocations: 180.3 kB / 0.6506 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-05/0.149, allocations: 180.2 kB / 0.6508 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.1492, allocations: 413.2 kB / 0.6512 GB, free: 1.812 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.259e-05/0.1492, allocations: 104.9 kB / 0.6513 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.931e-05/0.1493, allocations: 101 kB / 0.6514 GB, free: 1.598 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.997e-05/0.1493, allocations: 180.2 kB / 0.6516 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.698e-05/0.1494, allocations: 184.2 kB / 0.6518 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.909e-05/0.1495, allocations: 188.2 kB / 0.6519 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.527e-05/0.1496, allocations: 180.2 kB / 0.6521 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.1497, allocations: 303.8 kB / 0.6524 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-05/0.1498, allocations: 194 kB / 0.6526 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.672e-05/0.1498, allocations: 176.3 kB / 0.6527 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.15, allocations: 116.9 kB / 0.6529 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.233e-05/0.1501, allocations: 180.3 kB / 0.653 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/0.1501, allocations: 101 kB / 0.6531 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.377e-05/0.1502, allocations: 87.22 kB / 0.6532 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1502, allocations: 3.938 kB / 0.6532 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000264/0.1505, allocations: 23.86 kB / 0.6532 GB, free: 15.61 MB / 0.4981 GB 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.0004933/0.151, allocations: 0.8282 MB / 0.654 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.252e-05/0.151, allocations: 11.94 kB / 0.6541 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.151, allocations: 0 / 0.6541 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.151, allocations: 4.125 kB / 0.6541 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.1514, allocations: 467.9 kB / 0.6545 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009289/0.1524, allocations: 1.313 MB / 0.6558 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.1526, allocations: 0.6807 MB / 0.6565 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.614e-05/0.1526, allocations: 4 kB / 0.6565 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.09e-05/0.1527, allocations: 7.438 kB / 0.6565 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1527, allocations: 0 / 0.6565 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01629/0.169, allocations: 1.531 MB / 0.658 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.429/7.598, allocations: 12.25 kB / 0.658 GB, free: 10.77 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)