Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 210.9 kB / 22.24 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.781 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.8999/0.8999, allocations: 134 MB / 446.4 MB, free: 10.37 MB / 350.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 71.78 kB / 0.6185 GB, free: 6.887 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1644, allocations: 85.9 MB / 0.7024 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00563/0.17, allocations: 3.913 MB / 0.7062 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002135/0.1703, allocations: 139.6 kB / 0.7063 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.322e-05/0.1703, allocations: 0 / 0.7063 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.349e-05/0.1704, allocations: 11.92 kB / 0.7063 GB, free: 13 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.779e-05/0.1704, allocations: 11.92 kB / 0.7063 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.1708, allocations: 83.73 kB / 0.7064 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.301e-05/0.1708, allocations: 39.84 kB / 0.7064 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.999e-05/0.1709, allocations: 3.984 kB / 0.7065 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.653e-05/0.1709, allocations: 15.92 kB / 0.7065 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.591e-05/0.171, allocations: 11.98 kB / 0.7065 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.171, allocations: 4 kB / 0.7065 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001763/0.1712, allocations: 63.75 kB / 0.7065 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.094e-05/0.1712, allocations: 7.969 kB / 0.7066 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.445e-05/0.1712, allocations: 11.94 kB / 0.7066 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.1714, allocations: 60.09 kB / 0.7066 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1714, allocations: 0 / 0.7066 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1714, allocations: 0 / 0.7066 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.1714, allocations: 0 / 0.7066 GB, free: 12.69 MB / 0.5294 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.0003773/0.1718, allocations: 266.3 kB / 0.7069 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.1718, allocations: 8.031 kB / 0.7069 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.611e-05/0.1718, allocations: 38.75 kB / 0.7069 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.1719, allocations: 0.9375 kB / 0.7069 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.172, allocations: 102.5 kB / 0.707 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.233e-05/0.172, allocations: 55.97 kB / 0.7071 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.1721, allocations: 4.125 kB / 0.7071 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.1722, allocations: 75.38 kB / 0.7071 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.1722, allocations: 3.938 kB / 0.7071 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.1722, allocations: 0 / 0.7071 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.1722, allocations: 0 / 0.7071 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.889e-05/0.1723, allocations: 23.98 kB / 0.7072 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.1727, allocations: 235.9 kB / 0.7074 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.893e-05/0.1727, allocations: 14.58 kB / 0.7074 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.582e-05/0.1727, allocations: 4.859 kB / 0.7074 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.133e-05/0.1728, allocations: 12.05 kB / 0.7074 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.1728, allocations: 34.5 kB / 0.7075 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1728, allocations: 0 / 0.7075 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001551/0.173, allocations: 37.7 kB / 0.7075 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.173, allocations: 51.41 kB / 0.7075 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.797e-05/0.1731, allocations: 106 kB / 0.7076 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.1731, allocations: 25.7 kB / 0.7077 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.1732, allocations: 88.09 kB / 0.7078 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.743e-06/0.1732, allocations: 3.953 kB / 0.7078 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.1732, allocations: 17.7 kB / 0.7078 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1734, allocations: 322.8 kB / 0.7081 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.225e-05/0.1734, allocations: 0 / 0.7081 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.75e-05/0.1734, allocations: 21.64 kB / 0.7081 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.511e-05/0.1734, allocations: 21.72 kB / 0.7081 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1734, allocations: 4 kB / 0.7081 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.8e-05/0.1735, allocations: 49.62 kB / 0.7082 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1735, allocations: 8 kB / 0.7082 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1735, allocations: 0 / 0.7082 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1736, allocations: 0 / 0.7082 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.016e-05/0.1736, allocations: 7.938 kB / 0.7082 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.1736, allocations: 3.938 kB / 0.7082 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.632e-05/0.1736, allocations: 4 kB / 0.7082 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1736, allocations: 0 / 0.7082 GB, free: 10.85 MB / 0.5294 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 8.18e-05/0.1737, allocations: 113.8 kB / 0.7083 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.1737, allocations: 7.984 kB / 0.7083 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.1738, allocations: 120.9 kB / 0.7084 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.485e-05/0.1739, allocations: 176.3 kB / 0.7086 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.16e-05/0.174, allocations: 184.2 kB / 0.7088 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-05/0.1741, allocations: 180.2 kB / 0.7089 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.1743, allocations: 376.2 kB / 0.7093 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.378e-05/0.1744, allocations: 108.9 kB / 0.7094 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.671e-05/0.1744, allocations: 109.3 kB / 0.7095 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-05/0.1745, allocations: 184.2 kB / 0.7097 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.821e-05/0.1746, allocations: 184.3 kB / 0.7099 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.613e-05/0.1746, allocations: 184.2 kB / 0.71 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-05/0.1747, allocations: 180.2 kB / 0.7102 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.1749, allocations: 319.6 kB / 0.7105 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.595e-05/0.1749, allocations: 105 kB / 0.7106 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.922e-05/0.175, allocations: 176.3 kB / 0.7108 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.1752, allocations: 112.9 kB / 0.7109 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.867e-05/0.1753, allocations: 180.3 kB / 0.7111 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.958e-05/0.1753, allocations: 108.9 kB / 0.7112 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.212e-05/0.1754, allocations: 83.27 kB / 0.7112 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1754, allocations: 0 / 0.7112 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002487/0.1756, allocations: 23.88 kB / 0.7113 GB, free: 7.504 MB / 0.5294 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.0004894/0.1761, allocations: 0.8204 MB / 0.7121 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.947e-05/0.1762, allocations: 15.94 kB / 0.7121 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1762, allocations: 0 / 0.7121 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.1762, allocations: 0 / 0.7121 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004665/0.1766, allocations: 455.7 kB / 0.7125 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.1777, allocations: 1.321 MB / 0.7138 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.847e-05/0.1778, allocations: 67.3 kB / 0.7139 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.933e-05/0.1778, allocations: 7.984 kB / 0.7139 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.859e-05/0.1779, allocations: 7.438 kB / 0.7139 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of SimCode: time 3.01e-07/0.1779, allocations: 0 / 0.7139 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.2061, allocations: 2.029 MB / 0.7159 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.33, allocations: 8.219 kB / 0.7159 GB, free: 2.789 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion_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_WaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.122886694036424] Failed to read output from testmodel.py, exit status != 0: 11.436408611014485 11.461777384 11.285791248 Calling exit ...