Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.001613/0.001613, 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.001875/0.001875, allocations: 196.7 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.937/0.937, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 63.78 kB / 0.5055 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1548, allocations: 80.91 MB / 0.5845 GB, free: 4.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004992/0.1598, allocations: 3.28 MB / 0.5877 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001163/0.16, allocations: 59.84 kB / 0.5877 GB, free: 1.137 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.645e-05/0.16, allocations: 3.938 kB / 0.5877 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001035/0.1601, allocations: 4 kB / 0.5877 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.559e-05/0.1602, allocations: 7.922 kB / 0.5877 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000656/0.1609, allocations: 190.2 kB / 0.5879 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.279e-05/0.161, allocations: 27.92 kB / 0.588 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.161, allocations: 11.92 kB / 0.588 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.439e-05/0.1611, allocations: 19.92 kB / 0.588 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.917e-05/0.1612, allocations: 11.98 kB / 0.588 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.1612, allocations: 0 / 0.588 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003905/0.1616, allocations: 175.5 kB / 0.5882 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.11e-05/0.1616, allocations: 4 kB / 0.5882 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.075e-05/0.1617, allocations: 11.94 kB / 0.5882 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.162, allocations: 132 kB / 0.5883 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.162, allocations: 3.938 kB / 0.5883 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.162, allocations: 0 / 0.5883 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.162, allocations: 0 / 0.5883 GB, free: 0.5469 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004302/0.1625, allocations: 351.4 kB / 0.5886 GB, free: 160 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1625, allocations: 12.03 kB / 0.5887 GB, free: 148 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.326e-05/0.1625, allocations: 34.73 kB / 0.5887 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.1626, allocations: 4.938 kB / 0.5887 GB, free: 100 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.1627, allocations: 168.4 kB / 0.5889 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.662e-05/0.1628, allocations: 30.27 kB / 0.5889 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.1628, allocations: 4.125 kB / 0.5889 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.163, allocations: 49.61 kB / 0.5889 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.163, allocations: 0 / 0.5889 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.163, allocations: 0 / 0.5889 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.163, allocations: 0 / 0.5889 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.798e-05/0.1631, allocations: 27.92 kB / 0.589 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006011/0.1637, allocations: 0.5755 MB / 0.5895 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.624e-05/0.1637, allocations: 26.58 kB / 0.5895 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.442e-05/0.1637, allocations: 4.859 kB / 0.5895 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002257/0.164, allocations: 344.4 kB / 0.5899 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.164, allocations: 38.56 kB / 0.5899 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.164, allocations: 0 / 0.5899 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001369/0.1642, allocations: 41.55 kB / 0.59 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.1642, allocations: 51.41 kB / 0.59 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.429e-05/0.1643, allocations: 105.8 kB / 0.5901 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.1643, allocations: 25.7 kB / 0.5901 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.817e-05/0.1643, allocations: 80.14 kB / 0.5902 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.151e-06/0.1644, allocations: 3.906 kB / 0.5902 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.1644, allocations: 25.83 kB / 0.5902 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.927e-05/0.1645, allocations: 318.8 kB / 0.5905 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.359e-05/0.1645, allocations: 0 / 0.5905 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.68e-05/0.1646, allocations: 17.7 kB / 0.5906 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.56e-05/0.1646, allocations: 25.66 kB / 0.5906 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1646, allocations: 0 / 0.5906 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.267e-05/0.1647, allocations: 53.62 kB / 0.5906 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1647, allocations: 8 kB / 0.5906 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1647, allocations: 0 / 0.5906 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1647, allocations: 0 / 0.5906 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.887e-05/0.1648, allocations: 4 kB / 0.5906 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.1648, allocations: 4 kB / 0.5906 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.514e-05/0.1648, allocations: 7.938 kB / 0.5907 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.1649, allocations: 0 / 0.5907 GB, free: 13.75 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 7.246e-05/0.1649, allocations: 113.8 kB / 0.5908 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.165, allocations: 15.89 kB / 0.5908 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.1651, allocations: 116.9 kB / 0.5909 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.145e-05/0.1652, allocations: 176.3 kB / 0.5911 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-05/0.1652, allocations: 176.3 kB / 0.5912 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.095e-05/0.1653, allocations: 184.2 kB / 0.5914 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.1655, allocations: 413.2 kB / 0.5918 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.36e-05/0.1656, allocations: 105 kB / 0.5919 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.853e-05/0.1656, allocations: 109 kB / 0.592 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.367e-05/0.1657, allocations: 180.3 kB / 0.5922 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-05/0.1657, allocations: 180.2 kB / 0.5923 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.227e-05/0.1658, allocations: 184.2 kB / 0.5925 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-05/0.1659, allocations: 192.1 kB / 0.5927 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.166, allocations: 303.8 kB / 0.593 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.168e-05/0.1661, allocations: 186.3 kB / 0.5932 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.778e-05/0.1662, allocations: 180.2 kB / 0.5933 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.1663, allocations: 112.9 kB / 0.5934 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.1664, allocations: 180.2 kB / 0.5936 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/0.1664, allocations: 113 kB / 0.5937 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.639e-05/0.1665, allocations: 79.28 kB / 0.5938 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1665, allocations: 3.938 kB / 0.5938 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002864/0.1668, allocations: 39.92 kB / 0.5938 GB, free: 10.25 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 (0): * Single equations (assignments): 0 * 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.0005049/0.1673, allocations: 0.8595 MB / 0.5947 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7e-05/0.1674, allocations: 15.92 kB / 0.5947 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.1674, allocations: 0 / 0.5947 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.1674, allocations: 0 / 0.5947 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.1678, allocations: 459.7 kB / 0.5951 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.1688, allocations: 1.333 MB / 0.5964 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.1691, allocations: 0.6729 MB / 0.5971 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.331e-05/0.1691, allocations: 10.81 kB / 0.5971 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.227e-05/0.1692, allocations: 7.438 kB / 0.5971 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1692, allocations: 4 kB / 0.5971 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.1864, allocations: 2.124 MB / 0.5992 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.378/7.565, allocations: 8.375 kB / 0.5992 GB, free: 4.809 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_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_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)