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.001079/0.001079, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.354/1.354, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9996/0.9996, allocations: 135.1 MB / 425.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 65.81 kB / 0.5054 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1468, allocations: 80.92 MB / 0.5845 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.0063/0.1532, allocations: 4.42 MB / 0.5888 GB, free: 28 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002859/0.1561, allocations: 2.691 MB / 0.5914 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.1562, allocations: 4 kB / 0.5914 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002799/0.1565, allocations: 39.67 kB / 0.5914 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003039/0.1568, allocations: 95.36 kB / 0.5915 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.158, allocations: 496.7 kB / 0.592 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.1583, allocations: 236 kB / 0.5922 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.201e-05/0.1584, allocations: 9.547 kB / 0.5922 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009095/0.1593, allocations: 414.7 kB / 0.5926 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.1594, allocations: 91.66 kB / 0.5927 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.45e-05/0.1595, allocations: 8 kB / 0.5927 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009875/0.1605, allocations: 499.3 kB / 0.5932 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.495e-05/0.1606, allocations: 39.83 kB / 0.5933 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.234e-05/0.1607, allocations: 75.66 kB / 0.5933 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006628/0.1613, allocations: 343.2 kB / 0.5937 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1614, allocations: 4 kB / 0.5937 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1614, allocations: 0 / 0.5937 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.1614, allocations: 0 / 0.5937 GB, free: 11.02 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.0007122/0.1621, allocations: 0.5031 MB / 0.5941 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1621, allocations: 15.97 kB / 0.5942 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.682e-05/0.1622, allocations: 54.73 kB / 0.5942 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.1624, allocations: 24.73 kB / 0.5942 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.1626, allocations: 204.2 kB / 0.5944 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.1626, allocations: 12.7 kB / 0.5944 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.1626, allocations: 16.38 kB / 0.5945 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003728/0.163, allocations: 245 kB / 0.5947 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.163, allocations: 3.938 kB / 0.5947 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.1631, allocations: 8 kB / 0.5947 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.884e-05/0.1631, allocations: 12 kB / 0.5947 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004603/0.1636, allocations: 435.4 kB / 0.5951 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.1646, allocations: 0.9998 MB / 0.5961 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.1648, allocations: 162.3 kB / 0.5963 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.165, allocations: 64.88 kB / 0.5963 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001241/0.1662, allocations: 1.821 MB / 0.5981 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.1662, allocations: 34.56 kB / 0.5981 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.1663, allocations: 3.938 kB / 0.5981 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003326/0.1666, allocations: 153.4 kB / 0.5983 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.1666, allocations: 51.41 kB / 0.5983 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.1668, allocations: 173.8 kB / 0.5985 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.1668, allocations: 29.7 kB / 0.5985 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.954e-05/0.1669, allocations: 139.8 kB / 0.5987 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.256e-05/0.167, allocations: 51.27 kB / 0.5987 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.904e-05/0.1671, allocations: 53.7 kB / 0.5988 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.1672, allocations: 322.8 kB / 0.5991 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.017e-05/0.1672, allocations: 43.97 kB / 0.5991 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.1674, allocations: 138.8 kB / 0.5992 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.1676, allocations: 200.6 kB / 0.5994 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.1676, allocations: 12 kB / 0.5994 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003276/0.168, allocations: 209.1 kB / 0.5996 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.168, allocations: 8 kB / 0.5997 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.168, allocations: 4 kB / 0.5997 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.168, allocations: 8.406 kB / 0.5997 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.1682, allocations: 63.89 kB / 0.5997 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.1682, allocations: 11.94 kB / 0.5997 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.1683, allocations: 27.69 kB / 0.5998 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.1684, allocations: 12 kB / 0.5998 GB, free: 4.004 MB / 0.4981 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.0001159/0.1685, allocations: 134.4 kB / 0.5999 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/0.1685, allocations: 15.81 kB / 0.5999 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.1688, allocations: 148.1 kB / 0.6001 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/0.1689, allocations: 15.88 kB / 0.6001 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1689, allocations: 3.938 kB / 0.6001 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1689, allocations: 0 / 0.6001 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.1691, allocations: 217.5 kB / 0.6003 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1691, allocations: 0 / 0.6003 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.033e-05/0.1692, allocations: 20 kB / 0.6003 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1692, allocations: 0 / 0.6003 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.1693, allocations: 11.98 kB / 0.6003 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1693, allocations: 3.938 kB / 0.6003 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1693, allocations: 0 / 0.6003 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.1695, allocations: 220.7 kB / 0.6005 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.103e-05/0.1696, allocations: 108.8 kB / 0.6006 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.1696, allocations: 7.938 kB / 0.6006 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.1699, allocations: 19.92 kB / 0.6007 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.213e-05/0.1699, allocations: 7.984 kB / 0.6007 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.1699, allocations: 11.98 kB / 0.6007 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.327e-05/0.17, allocations: 124.9 kB / 0.6008 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.17, allocations: 4 kB / 0.6008 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00038/0.1704, allocations: 72 kB / 0.6009 GB, free: 2.785 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 (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.0007615/0.1712, allocations: 0.8329 MB / 0.6017 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002529/0.1714, allocations: 123.7 kB / 0.6018 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1714, allocations: 0 / 0.6018 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.333e-05/0.1715, allocations: 47.92 kB / 0.6019 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.172, allocations: 66.83 kB / 0.6019 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2278/0.3998, allocations: 2.025 MB / 0.6039 GB, free: 51.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.4, allocations: 0.7176 MB / 0.6046 GB, free: 51.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000258/0.4003, allocations: 45.31 kB / 0.6046 GB, free: 51.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.555e-05/0.4004, allocations: 44.84 kB / 0.6047 GB, free: 51.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.463e-06/0.4004, allocations: 0.5 kB / 0.6047 GB, free: 51.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/0.4212, allocations: 5.109 MB / 0.6097 GB, free: 50.71 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.414/7.835, allocations: 0.5938 kB / 0.6097 GB, free: 50.71 MB / 0.4981 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)