Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_dev_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.004767/0.004767, allocations: 98.47 kB / 15.73 MB, free: 5.949 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.001305/0.001305, allocations: 193.1 kB / 16.67 MB, free: 5.871 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.862/0.862, allocations: 135.6 MB / 426.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 66.64 kB / 0.5858 GB, free: 21.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1533, allocations: 81.02 MB / 0.6649 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.006416/0.1597, allocations: 4.42 MB / 0.6692 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00323/0.163, allocations: 2.695 MB / 0.6718 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.1632, allocations: 7.938 kB / 0.6718 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002774/0.1634, allocations: 43.69 kB / 0.6719 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.1637, allocations: 91.41 kB / 0.672 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.1651, allocations: 497.5 kB / 0.6725 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000318/0.1654, allocations: 239.7 kB / 0.6727 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.998e-05/0.1655, allocations: 9.562 kB / 0.6727 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009648/0.1664, allocations: 427.1 kB / 0.6731 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.1666, allocations: 91.55 kB / 0.6732 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.1666, allocations: 8 kB / 0.6732 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.1677, allocations: 495 kB / 0.6737 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.409e-05/0.1678, allocations: 39.89 kB / 0.6737 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.1679, allocations: 79.59 kB / 0.6738 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007192/0.1686, allocations: 346.9 kB / 0.6741 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1686, allocations: 4 kB / 0.6741 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1687, allocations: 4 kB / 0.6741 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.1687, allocations: 4 kB / 0.6741 GB, free: 12.09 MB / 0.5137 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.0007922/0.1695, allocations: 0.4947 MB / 0.6746 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1695, allocations: 9.109 kB / 0.6746 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.116e-05/0.1696, allocations: 58.72 kB / 0.6747 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.1697, allocations: 24.83 kB / 0.6747 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.17, allocations: 208.1 kB / 0.6749 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.1701, allocations: 20.64 kB / 0.6749 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.1701, allocations: 16.38 kB / 0.6749 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003837/0.1705, allocations: 241 kB / 0.6752 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1705, allocations: 0 / 0.6752 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.1705, allocations: 12 kB / 0.6752 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.1706, allocations: 7.938 kB / 0.6752 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005165/0.1711, allocations: 439.5 kB / 0.6756 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.1723, allocations: 0.9922 MB / 0.6766 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000294/0.1726, allocations: 162.3 kB / 0.6767 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.1727, allocations: 68.75 kB / 0.6768 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001567/0.1743, allocations: 1.833 MB / 0.6786 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.1744, allocations: 38.56 kB / 0.6786 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.734e-06/0.1744, allocations: 0 / 0.6786 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003523/0.1747, allocations: 152.2 kB / 0.6788 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.1748, allocations: 51.41 kB / 0.6788 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.1749, allocations: 172.2 kB / 0.679 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.175, allocations: 29.7 kB / 0.679 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.1751, allocations: 148 kB / 0.6791 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.1751, allocations: 55.53 kB / 0.6792 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.51e-05/0.1752, allocations: 53.66 kB / 0.6792 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.1754, allocations: 326.8 kB / 0.6796 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.906e-05/0.1755, allocations: 43.97 kB / 0.6796 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.1756, allocations: 134.2 kB / 0.6797 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.1759, allocations: 201.5 kB / 0.6799 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.1759, allocations: 0 / 0.6799 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003545/0.1763, allocations: 209.5 kB / 0.6801 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1763, allocations: 12.09 kB / 0.6801 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1763, allocations: 7.938 kB / 0.6801 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.1763, allocations: 7.938 kB / 0.6801 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.1765, allocations: 55.91 kB / 0.6802 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.1765, allocations: 7.938 kB / 0.6802 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.1767, allocations: 31.78 kB / 0.6802 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.1767, allocations: 15.94 kB / 0.6802 GB, free: 5.066 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.0001283/0.1768, allocations: 129.8 kB / 0.6804 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/0.1769, allocations: 19.91 kB / 0.6804 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003088/0.1772, allocations: 157 kB / 0.6805 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.1772, allocations: 7.938 kB / 0.6805 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.1772, allocations: 0 / 0.6805 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1772, allocations: 0 / 0.6805 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.1775, allocations: 221.5 kB / 0.6808 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1775, allocations: 0 / 0.6808 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.057e-05/0.1776, allocations: 27.88 kB / 0.6808 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1776, allocations: 0 / 0.6808 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.1776, allocations: 7.984 kB / 0.6808 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.1777, allocations: 7.938 kB / 0.6808 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.1777, allocations: 7.984 kB / 0.6808 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.1779, allocations: 211.4 kB / 0.681 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.106e-05/0.178, allocations: 105 kB / 0.6811 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.1781, allocations: 0 / 0.6811 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.1783, allocations: 27.86 kB / 0.6811 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.1783, allocations: 11.98 kB / 0.6811 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.1783, allocations: 15.92 kB / 0.6812 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.594e-05/0.1784, allocations: 124 kB / 0.6813 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1784, allocations: 0 / 0.6813 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003773/0.1788, allocations: 79.83 kB / 0.6814 GB, free: 3.832 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.000743/0.1796, allocations: 0.8204 MB / 0.6822 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002437/0.1798, allocations: 127.7 kB / 0.6823 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.1798, allocations: 0 / 0.6823 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.018e-05/0.1799, allocations: 47.86 kB / 0.6823 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.1804, allocations: 56.77 kB / 0.6824 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.1827, allocations: 2.042 MB / 0.6844 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.1831, allocations: 0.7089 MB / 0.6851 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001643/0.1833, allocations: 49.78 kB / 0.6851 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.167e-05/0.1834, allocations: 51.36 kB / 0.6852 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of SimCode: time 2.21e-07/0.1834, allocations: 0 / 0.6852 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02766/0.211, allocations: 5.162 MB / 0.6902 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.964/8.175, allocations: 10.97 kB / 0.6902 GB, free: 10.66 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)