Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.001126/0.001126, allocations: 108 kB / 15.6 MB, free: 132 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.001196/0.001196, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.319/1.319, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.932/0.932, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 64.12 kB / 0.5054 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1498, allocations: 80.93 MB / 0.5845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005358/0.1552, allocations: 4.046 MB / 0.5884 GB, free: 376 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002601/0.1578, allocations: 2.426 MB / 0.5908 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.934e-05/0.1579, allocations: 4 kB / 0.5908 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002617/0.1582, allocations: 43.69 kB / 0.5908 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002679/0.1585, allocations: 103.3 kB / 0.5909 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.1598, allocations: 0.5236 MB / 0.5914 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000307/0.1601, allocations: 255.9 kB / 0.5917 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.018e-05/0.1601, allocations: 13.56 kB / 0.5917 GB, free: 13 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002031/0.1604, allocations: 123.5 kB / 0.5918 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.1605, allocations: 91.66 kB / 0.5919 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.1605, allocations: 8 kB / 0.5919 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008491/0.1614, allocations: 459.2 kB / 0.5924 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.362e-05/0.1615, allocations: 39.89 kB / 0.5924 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.424e-05/0.1616, allocations: 83.59 kB / 0.5925 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007067/0.1623, allocations: 407.3 kB / 0.5929 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1623, allocations: 4 kB / 0.5929 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1623, allocations: 0 / 0.5929 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.1623, allocations: 0 / 0.5929 GB, free: 11.81 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.0007999/0.1631, allocations: 0.5108 MB / 0.5934 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1632, allocations: 12.03 kB / 0.5934 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.549e-05/0.1632, allocations: 50.73 kB / 0.5934 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002058/0.1653, allocations: 180.5 kB / 0.5936 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.1656, allocations: 204.1 kB / 0.5938 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.1656, allocations: 16.7 kB / 0.5938 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.1656, allocations: 12.38 kB / 0.5938 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006309/0.1663, allocations: 312.1 kB / 0.5941 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1663, allocations: 0 / 0.5941 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/0.1663, allocations: 8 kB / 0.5941 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.1664, allocations: 8 kB / 0.5941 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007204/0.1671, allocations: 263.5 kB / 0.5944 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/0.1687, allocations: 1.392 MB / 0.5957 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006791/0.1694, allocations: 206.4 kB / 0.5959 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.1696, allocations: 76.81 kB / 0.596 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.1697, allocations: 3.984 kB / 0.596 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.1697, allocations: 42.55 kB / 0.5961 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.1697, allocations: 4 kB / 0.5961 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0007989/0.1705, allocations: 243.5 kB / 0.5963 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.1706, allocations: 59.34 kB / 0.5964 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.1707, allocations: 153.9 kB / 0.5965 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.1707, allocations: 33.7 kB / 0.5965 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.618e-05/0.1708, allocations: 128 kB / 0.5967 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/0.1709, allocations: 59.11 kB / 0.5967 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.053e-05/0.171, allocations: 53.92 kB / 0.5968 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.884e-05/0.1711, allocations: 322.8 kB / 0.5971 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002248/0.1713, allocations: 68.41 kB / 0.5971 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/0.1716, allocations: 143.9 kB / 0.5973 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004984/0.1721, allocations: 215.5 kB / 0.5975 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.1721, allocations: 7.938 kB / 0.5975 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006084/0.1727, allocations: 241.5 kB / 0.5977 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1727, allocations: 11.98 kB / 0.5977 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.1727, allocations: 7.938 kB / 0.5977 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1728, allocations: 4 kB / 0.5977 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/0.1731, allocations: 63.89 kB / 0.5978 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.1732, allocations: 7.938 kB / 0.5978 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.1734, allocations: 27.73 kB / 0.5978 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.1734, allocations: 12 kB / 0.5978 GB, free: 6.328 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 0.0001172/0.1736, allocations: 138.3 kB / 0.598 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.1736, allocations: 15.81 kB / 0.598 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006488/0.1743, allocations: 225 kB / 0.5982 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1743, allocations: 4 kB / 0.5982 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.1743, allocations: 0 / 0.5982 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1743, allocations: 0 / 0.5982 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.1746, allocations: 253.5 kB / 0.5985 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1746, allocations: 0 / 0.5985 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003152/0.1749, allocations: 51.89 kB / 0.5985 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1749, allocations: 4 kB / 0.5985 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.175, allocations: 8 kB / 0.5985 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.175, allocations: 3.938 kB / 0.5985 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.175, allocations: 0 / 0.5985 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005589/0.1755, allocations: 291.3 kB / 0.5988 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.471e-05/0.1756, allocations: 104.9 kB / 0.5989 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.1757, allocations: 8 kB / 0.5989 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.176, allocations: 15.98 kB / 0.5989 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.176, allocations: 11.94 kB / 0.5989 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.176, allocations: 8 kB / 0.5989 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.107e-05/0.1761, allocations: 115.2 kB / 0.599 GB, free: 5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1761, allocations: 0 / 0.599 GB, free: 5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003587/0.1765, allocations: 67.94 kB / 0.5991 GB, free: 4.934 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 (20): * Single equations (assignments): 20 * 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.0009023/0.1774, allocations: 0.8644 MB / 0.6 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005549/0.178, allocations: 190.3 kB / 0.6001 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.178, allocations: 4 kB / 0.6001 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.1782, allocations: 87.88 kB / 0.6002 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005145/0.1788, allocations: 63.95 kB / 0.6003 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003074/0.1818, allocations: 2.141 MB / 0.6024 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.1821, allocations: 0.7173 MB / 0.6031 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003499/0.1825, allocations: 49.92 kB / 0.6031 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.1826, allocations: 51.41 kB / 0.6032 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1826, allocations: 0 / 0.6032 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2478/0.4304, allocations: 5.123 MB / 0.6082 GB, free: 52.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.302/7.733, allocations: 12.95 kB / 0.6082 GB, free: 52.17 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_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_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)