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.005043/0.005043, allocations: 97.23 kB / 15.73 MB, free: 6.047 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.001308/0.001308, allocations: 196.2 kB / 16.68 MB, free: 5.973 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8188/0.8188, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 66.31 kB / 0.5809 GB, free: 1.082 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1504, allocations: 80.21 MB / 0.6592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.006023/0.1564, allocations: 4.424 MB / 0.6636 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002952/0.1594, allocations: 2.695 MB / 0.6662 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.329e-05/0.1595, allocations: 0 / 0.6662 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002415/0.1597, allocations: 51.66 kB / 0.6662 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002434/0.16, allocations: 91.42 kB / 0.6663 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.1611, allocations: 0.496 MB / 0.6668 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002721/0.1614, allocations: 235.9 kB / 0.667 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/0.1614, allocations: 9.562 kB / 0.667 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000894/0.1623, allocations: 415.1 kB / 0.6674 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.1625, allocations: 87.67 kB / 0.6675 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.1625, allocations: 8 kB / 0.6675 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009348/0.1634, allocations: 499 kB / 0.668 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.833e-05/0.1635, allocations: 43.83 kB / 0.668 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.946e-05/0.1636, allocations: 75.67 kB / 0.6681 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005679/0.1642, allocations: 346.9 kB / 0.6684 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1642, allocations: 4 kB / 0.6685 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1642, allocations: 0 / 0.6685 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.1642, allocations: 4 kB / 0.6685 GB, free: 4.457 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.0007397/0.165, allocations: 0.4986 MB / 0.6689 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.165, allocations: 8.031 kB / 0.669 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.168e-05/0.1651, allocations: 58.67 kB / 0.669 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.1652, allocations: 20.84 kB / 0.669 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.1655, allocations: 216.1 kB / 0.6692 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.1655, allocations: 16.7 kB / 0.6692 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.1655, allocations: 12.38 kB / 0.6693 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003897/0.1659, allocations: 249.5 kB / 0.6695 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.166, allocations: 3.938 kB / 0.6695 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.505e-05/0.166, allocations: 8 kB / 0.6695 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/0.166, allocations: 12 kB / 0.6695 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005337/0.1666, allocations: 427.5 kB / 0.6699 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.1677, allocations: 1.004 MB / 0.6709 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002953/0.168, allocations: 167.1 kB / 0.6711 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.1681, allocations: 60.88 kB / 0.6711 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001555/0.1697, allocations: 1.825 MB / 0.6729 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.1697, allocations: 46.56 kB / 0.673 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 3.466e-06/0.1697, allocations: 3.984 kB / 0.673 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003462/0.1701, allocations: 152 kB / 0.6731 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.1701, allocations: 55.41 kB / 0.6732 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.1703, allocations: 161.7 kB / 0.6733 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.1703, allocations: 33.7 kB / 0.6733 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.739e-05/0.1704, allocations: 148 kB / 0.6735 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.866e-05/0.1705, allocations: 55.53 kB / 0.6735 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.065e-05/0.1706, allocations: 49.66 kB / 0.6736 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1707, allocations: 330.8 kB / 0.6739 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.256e-05/0.1708, allocations: 39.97 kB / 0.6739 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.1709, allocations: 135 kB / 0.6741 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.1712, allocations: 204.4 kB / 0.6743 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1712, allocations: 3.984 kB / 0.6743 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003339/0.1715, allocations: 209.6 kB / 0.6745 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1716, allocations: 8 kB / 0.6745 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.1716, allocations: 8 kB / 0.6745 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.1716, allocations: 7.938 kB / 0.6745 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.1718, allocations: 51.92 kB / 0.6745 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.1718, allocations: 11.92 kB / 0.6745 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.1719, allocations: 27.78 kB / 0.6746 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.1719, allocations: 16 kB / 0.6746 GB, free: 13.43 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.0001121/0.1721, allocations: 125.8 kB / 0.6747 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/0.1721, allocations: 19.84 kB / 0.6747 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002966/0.1724, allocations: 158.3 kB / 0.6749 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.1724, allocations: 3.938 kB / 0.6749 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1724, allocations: 7.938 kB / 0.6749 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.1725, allocations: 0 / 0.6749 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.1727, allocations: 217.5 kB / 0.6751 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1727, allocations: 3.938 kB / 0.6751 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.125e-05/0.1728, allocations: 23.98 kB / 0.6751 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1728, allocations: 0 / 0.6751 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.1728, allocations: 4 kB / 0.6751 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/0.1729, allocations: 7.938 kB / 0.6751 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1729, allocations: 3.984 kB / 0.6751 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.1732, allocations: 215.4 kB / 0.6753 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-05/0.1733, allocations: 108.9 kB / 0.6754 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.1733, allocations: 3.938 kB / 0.6755 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.1735, allocations: 27.91 kB / 0.6755 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.1735, allocations: 11.98 kB / 0.6755 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.1736, allocations: 11.98 kB / 0.6755 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001037/0.1737, allocations: 125.6 kB / 0.6756 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1737, allocations: 0 / 0.6756 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003711/0.1741, allocations: 71.88 kB / 0.6757 GB, free: 12.21 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.0007497/0.1748, allocations: 0.8326 MB / 0.6765 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002299/0.1751, allocations: 115.8 kB / 0.6766 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.1751, allocations: 4 kB / 0.6766 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.189e-05/0.1751, allocations: 43.92 kB / 0.6767 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.1756, allocations: 60.75 kB / 0.6767 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.1779, allocations: 2.044 MB / 0.6787 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.1782, allocations: 0.7128 MB / 0.6794 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001518/0.1784, allocations: 52.03 kB / 0.6795 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.198e-05/0.1784, allocations: 43.42 kB / 0.6795 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.1784, allocations: 0 / 0.6795 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.2046, allocations: 5.156 MB / 0.6845 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.824/8.028, allocations: 14.7 kB / 0.6846 GB, free: 3.078 MB / 0.5137 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)