Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",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.006888/0.006888, allocations: 107.5 kB / 15.74 MB, free: 6.02 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.00161/0.00161, allocations: 193.4 kB / 16.67 MB, free: 5.934 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8099/0.8099, allocations: 132.2 MB / 422.7 MB, free: 6.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 60.47 kB / 0.5809 GB, free: 24.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1398, allocations: 80.21 MB / 0.6592 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.006034/0.1458, allocations: 4.428 MB / 0.6636 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002968/0.1488, allocations: 2.691 MB / 0.6662 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.149, allocations: 4 kB / 0.6662 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003367/0.1493, allocations: 47.67 kB / 0.6662 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003388/0.1497, allocations: 99.34 kB / 0.6663 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.1511, allocations: 0.4958 MB / 0.6668 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003014/0.1514, allocations: 247.8 kB / 0.667 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.717e-05/0.1514, allocations: 9.562 kB / 0.6671 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009178/0.1524, allocations: 414.9 kB / 0.6674 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.1525, allocations: 91.61 kB / 0.6675 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.1526, allocations: 8 kB / 0.6675 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.1536, allocations: 499.3 kB / 0.668 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.66e-05/0.1537, allocations: 31.89 kB / 0.668 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.1538, allocations: 79.66 kB / 0.6681 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007392/0.1545, allocations: 358.8 kB / 0.6685 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1546, allocations: 0 / 0.6685 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1546, allocations: 0 / 0.6685 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.1546, allocations: 0 / 0.6685 GB, free: 1.309 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007293/0.1553, allocations: 0.5064 MB / 0.669 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1554, allocations: 12.03 kB / 0.669 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.263e-05/0.1554, allocations: 46.73 kB / 0.669 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.1556, allocations: 20.84 kB / 0.669 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.1559, allocations: 216.1 kB / 0.6692 GB, free: 424 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1559, allocations: 12.7 kB / 0.6693 GB, free: 412 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.1559, allocations: 16.38 kB / 0.6693 GB, free: 396 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003587/0.1563, allocations: 260.8 kB / 0.6695 GB, free: 112 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1563, allocations: 0 / 0.6695 GB, free: 112 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.1563, allocations: 4 kB / 0.6695 GB, free: 108 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.1564, allocations: 8 kB / 0.6695 GB, free: 100 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004912/0.1569, allocations: 427.4 kB / 0.6699 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.1579, allocations: 1.004 MB / 0.6709 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.1582, allocations: 159.1 kB / 0.6711 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.1583, allocations: 68.81 kB / 0.6711 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001383/0.1597, allocations: 1.833 MB / 0.6729 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.1598, allocations: 34.56 kB / 0.673 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.1598, allocations: 0 / 0.673 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003296/0.1601, allocations: 160 kB / 0.6731 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.1602, allocations: 51.41 kB / 0.6732 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.1604, allocations: 167.3 kB / 0.6733 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.1604, allocations: 25.7 kB / 0.6733 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.1605, allocations: 148 kB / 0.6735 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.1606, allocations: 55.53 kB / 0.6735 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.317e-05/0.1607, allocations: 57.64 kB / 0.6736 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1608, allocations: 322.8 kB / 0.6739 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.594e-05/0.1609, allocations: 43.91 kB / 0.6739 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.161, allocations: 138.2 kB / 0.6741 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.1613, allocations: 192.2 kB / 0.6743 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.1613, allocations: 8 kB / 0.6743 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003391/0.1616, allocations: 221 kB / 0.6745 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1617, allocations: 8 kB / 0.6745 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.1617, allocations: 4 kB / 0.6745 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.1617, allocations: 8.406 kB / 0.6745 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.1619, allocations: 55.92 kB / 0.6746 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.1619, allocations: 7.984 kB / 0.6746 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.162, allocations: 27.78 kB / 0.6746 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.1621, allocations: 16 kB / 0.6746 GB, free: 10.27 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0001114/0.1622, allocations: 129.7 kB / 0.6747 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.031e-05/0.1622, allocations: 19.84 kB / 0.6747 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002966/0.1625, allocations: 155 kB / 0.6749 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.1626, allocations: 7.938 kB / 0.6749 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1626, allocations: 4 kB / 0.6749 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1626, allocations: 0 / 0.6749 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.1628, allocations: 217.4 kB / 0.6751 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1628, allocations: 0 / 0.6751 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.412e-05/0.1629, allocations: 35.92 kB / 0.6751 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1629, allocations: 0 / 0.6751 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.163, allocations: 4 kB / 0.6751 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.163, allocations: 3.938 kB / 0.6752 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.163, allocations: 3.984 kB / 0.6752 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.1632, allocations: 217.7 kB / 0.6754 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.591e-05/0.1633, allocations: 108.9 kB / 0.6755 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.1634, allocations: 8 kB / 0.6755 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.1636, allocations: 15.92 kB / 0.6755 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.1636, allocations: 11.98 kB / 0.6755 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.1636, allocations: 11.98 kB / 0.6755 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.628e-05/0.1637, allocations: 116 kB / 0.6756 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1637, allocations: 0 / 0.6756 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003922/0.1641, allocations: 79.88 kB / 0.6757 GB, free: 9.055 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.000696/0.1648, allocations: 0.8332 MB / 0.6765 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002245/0.1651, allocations: 122.4 kB / 0.6766 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1651, allocations: 0 / 0.6766 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.14e-05/0.1652, allocations: 43.92 kB / 0.6767 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.1656, allocations: 64.61 kB / 0.6767 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.1678, allocations: 2.031 MB / 0.6787 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.1681, allocations: 0.7207 MB / 0.6794 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001596/0.1682, allocations: 48.58 kB / 0.6795 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.408e-05/0.1683, allocations: 47.42 kB / 0.6795 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of SimCode: time 3.9e-07/0.1683, allocations: 0 / 0.6795 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/0.1905, allocations: 5.164 MB / 0.6846 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.459/7.649, allocations: 10.81 kB / 0.6846 GB, free: 15.91 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)