Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 109.8 kB / 16.4 MB, free: 6.492 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 192.5 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8326/0.8326, allocations: 132.2 MB / 429.4 MB, free: 5.922 MB / 334.1 MB " [Timeout remaining time 179] 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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002918/0.002918, allocations: 63.17 kB / 0.5894 GB, free: 23.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1549, allocations: 80.21 MB / 0.6677 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005739/0.1606, allocations: 3.288 MB / 0.6709 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001178/0.1608, allocations: 55.84 kB / 0.671 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.432e-05/0.1608, allocations: 0 / 0.671 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.161, allocations: 3.938 kB / 0.671 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.383e-05/0.1611, allocations: 11.98 kB / 0.671 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006518/0.1617, allocations: 191.2 kB / 0.6712 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.31e-05/0.1618, allocations: 27.86 kB / 0.6712 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.456e-05/0.1619, allocations: 0 / 0.6712 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.947e-05/0.1619, allocations: 23.97 kB / 0.6712 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.975e-05/0.162, allocations: 7.938 kB / 0.6712 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.162, allocations: 0 / 0.6712 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003877/0.1624, allocations: 175.5 kB / 0.6714 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.571e-05/0.1625, allocations: 7.984 kB / 0.6714 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.841e-05/0.1625, allocations: 8 kB / 0.6714 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003264/0.1629, allocations: 139.9 kB / 0.6715 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1629, allocations: 4 kB / 0.6715 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1629, allocations: 3.938 kB / 0.6716 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.1629, allocations: 0 / 0.6716 GB, free: 5.828 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005041/0.1634, allocations: 355.2 kB / 0.6719 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.1635, allocations: 8.031 kB / 0.6719 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.536e-05/0.1635, allocations: 34.75 kB / 0.6719 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.1635, allocations: 4.938 kB / 0.6719 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.1637, allocations: 160.4 kB / 0.6721 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.654e-05/0.1638, allocations: 38.2 kB / 0.6721 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.1638, allocations: 4.125 kB / 0.6721 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.164, allocations: 45.61 kB / 0.6722 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.164, allocations: 4 kB / 0.6722 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.164, allocations: 0 / 0.6722 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.1641, allocations: 0 / 0.6722 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.501e-05/0.1641, allocations: 15.98 kB / 0.6722 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007531/0.1649, allocations: 0.5794 MB / 0.6728 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.137e-05/0.1649, allocations: 26.52 kB / 0.6728 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.673e-05/0.1649, allocations: 8.922 kB / 0.6728 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002743/0.1652, allocations: 336.4 kB / 0.6731 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.1653, allocations: 34.56 kB / 0.6731 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1653, allocations: 0 / 0.6731 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001688/0.1654, allocations: 41.64 kB / 0.6732 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.1655, allocations: 55.53 kB / 0.6732 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.421e-05/0.1656, allocations: 101.8 kB / 0.6733 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.1656, allocations: 29.7 kB / 0.6734 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.305e-05/0.1657, allocations: 84.09 kB / 0.6734 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.593e-06/0.1657, allocations: 7.875 kB / 0.6735 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.1657, allocations: 21.72 kB / 0.6735 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1659, allocations: 314.8 kB / 0.6738 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.135e-05/0.1659, allocations: 7.984 kB / 0.6738 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.073e-05/0.166, allocations: 25.89 kB / 0.6738 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.941e-05/0.166, allocations: 13.72 kB / 0.6738 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.166, allocations: 4 kB / 0.6738 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.7e-05/0.1661, allocations: 49.62 kB / 0.6739 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1661, allocations: 4 kB / 0.6739 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.1661, allocations: 0 / 0.6739 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.1662, allocations: 8.062 kB / 0.6739 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.212e-05/0.1662, allocations: 7.984 kB / 0.6739 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1662, allocations: 7.922 kB / 0.6739 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.297e-05/0.1663, allocations: 7.953 kB / 0.6739 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.1663, allocations: 4 kB / 0.6739 GB, free: 3.02 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 9.604e-05/0.1664, allocations: 113.8 kB / 0.674 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.1664, allocations: 4 kB / 0.674 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/0.1666, allocations: 127.9 kB / 0.6741 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.719e-05/0.1666, allocations: 180.3 kB / 0.6743 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.162e-05/0.1667, allocations: 180.2 kB / 0.6745 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.879e-05/0.1668, allocations: 180.3 kB / 0.6747 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.1671, allocations: 409.2 kB / 0.675 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.45e-05/0.1672, allocations: 105 kB / 0.6751 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.006e-05/0.1672, allocations: 109 kB / 0.6753 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.184e-05/0.1673, allocations: 188.2 kB / 0.6754 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.239e-05/0.1674, allocations: 176.3 kB / 0.6756 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.181e-05/0.1675, allocations: 180.2 kB / 0.6758 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.607e-05/0.1676, allocations: 176.3 kB / 0.6759 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.1677, allocations: 315.7 kB / 0.6762 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.384e-05/0.1678, allocations: 182.1 kB / 0.6764 GB, free: 264 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-05/0.1679, allocations: 180.2 kB / 0.6766 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.1681, allocations: 113 kB / 0.6767 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.259e-05/0.1682, allocations: 184.3 kB / 0.6769 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.744e-05/0.1683, allocations: 104.9 kB / 0.677 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.093e-05/0.1684, allocations: 87.27 kB / 0.6771 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1684, allocations: 0 / 0.6771 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003248/0.1687, allocations: 39.81 kB / 0.6771 GB, free: 15.54 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 (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.0006624/0.1694, allocations: 0.8632 MB / 0.6779 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.938e-05/0.1695, allocations: 11.94 kB / 0.6779 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1695, allocations: 4.125 kB / 0.6779 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.274e-06/0.1695, allocations: 0 / 0.6779 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005377/0.17, allocations: 461.2 kB / 0.6784 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.1713, allocations: 1.344 MB / 0.6797 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.1716, allocations: 0.6768 MB / 0.6804 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.553e-05/0.1717, allocations: 4 kB / 0.6804 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/0.1717, allocations: 11.44 kB / 0.6804 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1717, allocations: 0 / 0.6804 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.1942, allocations: 2.139 MB / 0.6825 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.655/7.85, allocations: 10 kB / 0.6825 GB, free: 10.07 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.382469443953596] Failed to read output from testmodel.py, exit status != 0: 7.919365450041369 7.946217814 7.778737392 Calling exit ...