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.001277/0.001277, allocations: 105.4 kB / 16.45 MB, free: 6.453 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.001322/0.001322, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.444/1.444, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.8358/0.8358, allocations: 134 MB / 442.8 MB, free: 11.29 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.001915/0.001915, allocations: 66.28 kB / 0.6134 GB, free: 8.738 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1601, allocations: 85.85 MB / 0.6972 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006083/0.1662, allocations: 4.118 MB / 0.7013 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002252/0.1664, allocations: 163.4 kB / 0.7014 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.299e-05/0.1665, allocations: 4 kB / 0.7014 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001029/0.1666, allocations: 3.938 kB / 0.7014 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.812e-05/0.1666, allocations: 7.969 kB / 0.7014 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003407/0.167, allocations: 83.69 kB / 0.7015 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.991e-05/0.1671, allocations: 31.86 kB / 0.7015 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.24e-05/0.1671, allocations: 3.984 kB / 0.7015 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.168e-05/0.1671, allocations: 23.98 kB / 0.7016 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.601e-05/0.1672, allocations: 7.938 kB / 0.7016 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.1672, allocations: 0 / 0.7016 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002204/0.1674, allocations: 83.77 kB / 0.7017 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.961e-05/0.1675, allocations: 3.984 kB / 0.7017 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.1675, allocations: 11.94 kB / 0.7017 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.1677, allocations: 68.12 kB / 0.7017 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1677, allocations: 3.938 kB / 0.7017 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1677, allocations: 0 / 0.7017 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.1677, allocations: 0 / 0.7017 GB, free: 14.32 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.0004249/0.1681, allocations: 339.4 kB / 0.7021 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.1681, allocations: 9.109 kB / 0.7021 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.032e-05/0.1682, allocations: 38.75 kB / 0.7021 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.1682, allocations: 0.9375 kB / 0.7021 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.1683, allocations: 160.4 kB / 0.7023 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.818e-05/0.1684, allocations: 30.27 kB / 0.7023 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.1684, allocations: 4.125 kB / 0.7023 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.1686, allocations: 49.67 kB / 0.7023 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1686, allocations: 0 / 0.7023 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.1686, allocations: 7.938 kB / 0.7024 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.1686, allocations: 0 / 0.7024 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.534e-05/0.1686, allocations: 15.92 kB / 0.7024 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004434/0.1691, allocations: 338 kB / 0.7027 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.061e-05/0.1691, allocations: 14.64 kB / 0.7027 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.61e-05/0.1691, allocations: 12.86 kB / 0.7027 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-05/0.1692, allocations: 81.11 kB / 0.7028 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.1693, allocations: 38.55 kB / 0.7028 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1693, allocations: 0 / 0.7028 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001453/0.1694, allocations: 37.64 kB / 0.7029 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.1694, allocations: 51.41 kB / 0.7029 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.8e-05/0.1695, allocations: 113.8 kB / 0.703 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.1696, allocations: 29.83 kB / 0.7031 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.1696, allocations: 84.09 kB / 0.7031 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.057e-06/0.1696, allocations: 0 / 0.7031 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.1696, allocations: 21.67 kB / 0.7032 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1698, allocations: 322.7 kB / 0.7035 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.61e-05/0.1698, allocations: 4 kB / 0.7035 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.53e-05/0.1698, allocations: 17.72 kB / 0.7035 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.107e-05/0.1699, allocations: 25.66 kB / 0.7035 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1699, allocations: 0 / 0.7035 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.376e-05/0.17, allocations: 53.62 kB / 0.7036 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.17, allocations: 4 kB / 0.7036 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.17, allocations: 0 / 0.7036 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.17, allocations: 4 kB / 0.7036 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.446e-05/0.17, allocations: 7.984 kB / 0.7036 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.17, allocations: 0 / 0.7036 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.726e-05/0.17, allocations: 4.062 kB / 0.7036 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.1701, allocations: 4 kB / 0.7036 GB, free: 12.15 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 7.836e-05/0.1701, allocations: 113.8 kB / 0.7037 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.1702, allocations: 4 kB / 0.7037 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.1703, allocations: 116.9 kB / 0.7038 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.042e-05/0.1704, allocations: 180.3 kB / 0.704 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.866e-05/0.1704, allocations: 188.3 kB / 0.7042 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.05e-05/0.1705, allocations: 180.2 kB / 0.7043 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.1708, allocations: 405.2 kB / 0.7047 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.805e-05/0.1708, allocations: 112.9 kB / 0.7048 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.336e-05/0.1709, allocations: 105 kB / 0.7049 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-05/0.1709, allocations: 184.3 kB / 0.7051 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-05/0.171, allocations: 180.2 kB / 0.7053 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.725e-05/0.1711, allocations: 176.3 kB / 0.7054 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.45e-05/0.1711, allocations: 180.2 kB / 0.7056 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.1713, allocations: 319.7 kB / 0.7059 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.156e-05/0.1714, allocations: 182 kB / 0.7061 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-05/0.1715, allocations: 176.3 kB / 0.7063 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.1717, allocations: 116.9 kB / 0.7064 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.438e-05/0.1717, allocations: 176.3 kB / 0.7065 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.404e-05/0.1718, allocations: 101 kB / 0.7066 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.513e-05/0.1718, allocations: 91.27 kB / 0.7067 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1718, allocations: 3.938 kB / 0.7067 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002523/0.1721, allocations: 23.88 kB / 0.7067 GB, free: 8.691 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.000518/0.1726, allocations: 0.8242 MB / 0.7075 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.03e-05/0.1727, allocations: 19.94 kB / 0.7076 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1727, allocations: 0 / 0.7076 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.1727, allocations: 0 / 0.7076 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004828/0.1732, allocations: 459.9 kB / 0.708 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.1743, allocations: 1.317 MB / 0.7093 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.1746, allocations: 0.669 MB / 0.7099 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.965e-05/0.1746, allocations: 11.98 kB / 0.71 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.331e-05/0.1746, allocations: 7.438 kB / 0.71 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of SimCode: time 5.11e-07/0.1746, allocations: 0 / 0.71 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.1976, allocations: 1.477 MB / 0.7114 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.982/8.18, allocations: 8.156 kB / 0.7114 GB, free: 3.879 MB / 0.5294 GB " [Timeout remaining time 652] (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: 11.816816078993725] Failed to read output from testmodel.py, exit status != 0: 8.247184342006221 8.271582806 8.09986053 Calling exit ...