Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_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.007878/0.007878, allocations: 100.8 kB / 15.73 MB, free: 6.055 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.002131/0.002131, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8489/0.8489, allocations: 135.6 MB / 426.1 MB, free: 3.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 68.3 kB / 0.5857 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1465, allocations: 81.02 MB / 0.6648 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.0057/0.1522, allocations: 3.72 MB / 0.6685 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002346/0.1525, allocations: 159.4 kB / 0.6686 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.212e-05/0.1525, allocations: 0 / 0.6686 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.15e-05/0.1526, allocations: 4 kB / 0.6686 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.157e-05/0.1527, allocations: 15.91 kB / 0.6686 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003693/0.1531, allocations: 90.69 kB / 0.6687 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.918e-05/0.1532, allocations: 27.92 kB / 0.6688 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.1532, allocations: 4 kB / 0.6688 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.274e-05/0.1533, allocations: 19.91 kB / 0.6688 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.723e-05/0.1534, allocations: 11.94 kB / 0.6688 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.1534, allocations: 4 kB / 0.6688 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005595/0.154, allocations: 187.4 kB / 0.669 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.84e-05/0.154, allocations: 4 kB / 0.669 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.154, allocations: 15.92 kB / 0.669 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.1542, allocations: 36.19 kB / 0.669 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.1542, allocations: 7.984 kB / 0.669 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.582e-06/0.1542, allocations: 0 / 0.669 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.81e-06/0.1542, allocations: 0 / 0.669 GB, free: 1.332 MB / 0.4981 GB 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.0004572/0.1547, allocations: 335.5 kB / 0.6694 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.1547, allocations: 9.109 kB / 0.6694 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.89e-05/0.1548, allocations: 38.75 kB / 0.6694 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.1548, allocations: 4.891 kB / 0.6694 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.155, allocations: 164.4 kB / 0.6696 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.781e-05/0.155, allocations: 30.27 kB / 0.6696 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.1551, allocations: 8.062 kB / 0.6696 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.1552, allocations: 41.67 kB / 0.6696 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1552, allocations: 3.938 kB / 0.6696 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.1553, allocations: 8 kB / 0.6697 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.1553, allocations: 4 kB / 0.6697 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.645e-05/0.1553, allocations: 11.98 kB / 0.6697 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004756/0.1558, allocations: 341.9 kB / 0.67 GB, free: 184 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.862e-05/0.1559, allocations: 18.52 kB / 0.67 GB, free: 156 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.575e-05/0.1559, allocations: 8.922 kB / 0.67 GB, free: 144 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.213e-05/0.156, allocations: 89.09 kB / 0.6701 GB, free: 36 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.202e-05/0.156, allocations: 34.56 kB / 0.6701 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.402e-06/0.1561, allocations: 0 / 0.6701 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001436/0.1562, allocations: 33.7 kB / 0.6702 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.1563, allocations: 51.41 kB / 0.6702 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.122e-05/0.1563, allocations: 109.8 kB / 0.6703 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.1564, allocations: 29.64 kB / 0.6704 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/0.1564, allocations: 88.22 kB / 0.6704 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.652e-06/0.1565, allocations: 3.953 kB / 0.6704 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.1565, allocations: 21.7 kB / 0.6705 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1566, allocations: 314.8 kB / 0.6708 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.486e-05/0.1566, allocations: 4 kB / 0.6708 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.279e-05/0.1567, allocations: 21.7 kB / 0.6708 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.574e-05/0.1567, allocations: 21.72 kB / 0.6708 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.1567, allocations: 0 / 0.6708 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.964e-05/0.1568, allocations: 49.62 kB / 0.6709 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.1568, allocations: 4 kB / 0.6709 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1568, allocations: 4 kB / 0.6709 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.1569, allocations: 0 / 0.6709 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.955e-05/0.1569, allocations: 4 kB / 0.6709 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.1569, allocations: 0 / 0.6709 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.663e-05/0.1569, allocations: 0 / 0.6709 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.157, allocations: 12.06 kB / 0.6709 GB, free: 15.16 MB / 0.5137 GB 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 9.275e-05/0.1571, allocations: 113.8 kB / 0.671 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.1571, allocations: 15.88 kB / 0.671 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.1572, allocations: 113 kB / 0.6711 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.388e-05/0.1573, allocations: 180.3 kB / 0.6713 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.797e-05/0.1574, allocations: 184.2 kB / 0.6715 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.607e-05/0.1575, allocations: 184.2 kB / 0.6716 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.1577, allocations: 413 kB / 0.672 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.788e-05/0.1578, allocations: 105 kB / 0.6721 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.324e-05/0.1578, allocations: 101 kB / 0.6722 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.753e-05/0.1579, allocations: 184.2 kB / 0.6724 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-05/0.158, allocations: 180.3 kB / 0.6726 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.017e-05/0.1581, allocations: 184.2 kB / 0.6727 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.032e-05/0.1582, allocations: 176.3 kB / 0.6729 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.1583, allocations: 311.7 kB / 0.6732 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.593e-05/0.1584, allocations: 182.1 kB / 0.6734 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-05/0.1585, allocations: 184.2 kB / 0.6736 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.1587, allocations: 105 kB / 0.6737 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.542e-05/0.1588, allocations: 192.5 kB / 0.6738 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-05/0.1589, allocations: 105 kB / 0.6739 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.827e-05/0.1589, allocations: 79.28 kB / 0.674 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1589, allocations: 0 / 0.674 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002583/0.1592, allocations: 27.88 kB / 0.674 GB, free: 11.69 MB / 0.5137 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.0005718/0.1598, allocations: 0.8242 MB / 0.6749 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.443e-05/0.1598, allocations: 19.94 kB / 0.6749 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1598, allocations: 0 / 0.6749 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.1599, allocations: 0 / 0.6749 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.1603, allocations: 457.6 kB / 0.6753 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.1614, allocations: 1.333 MB / 0.6766 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.1617, allocations: 0.669 MB / 0.6773 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.174e-05/0.1617, allocations: 7.984 kB / 0.6773 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.35e-05/0.1618, allocations: 11.44 kB / 0.6773 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.1618, allocations: 0 / 0.6773 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02167/0.1834, allocations: 1.524 MB / 0.6788 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.796/7.979, allocations: 8.5 kB / 0.6788 GB, free: 6.848 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)