Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.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.001824/0.001824, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002237/0.002237, allocations: 214 kB / 22.25 MB, free: 4.855 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 7.785 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.8619/0.8619, allocations: 134 MB / 446.4 MB, free: 9.965 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.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",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.002017/0.002017, allocations: 62.94 kB / 0.6185 GB, free: 7.047 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1865, allocations: 85.92 MB / 0.7024 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.582/0.7684, allocations: 119 MB / 0.8186 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001722/0.7686, allocations: 50.98 kB / 0.8187 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.222e-05/0.7686, allocations: 0 / 0.8187 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.7687, allocations: 2.156 kB / 0.8187 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.414e-05/0.7688, allocations: 11.05 kB / 0.8187 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008693/0.7697, allocations: 260.5 kB / 0.8189 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.666e-05/0.7698, allocations: 29.64 kB / 0.8189 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.7698, allocations: 3.984 kB / 0.8189 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.331e-05/0.7698, allocations: 18.39 kB / 0.819 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.17e-05/0.7699, allocations: 15.45 kB / 0.819 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.7699, allocations: 0 / 0.819 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003744/0.7703, allocations: 182.9 kB / 0.8192 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.239e-05/0.7703, allocations: 14.2 kB / 0.8192 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.042e-05/0.7704, allocations: 3 kB / 0.8192 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.7707, allocations: 166.4 kB / 0.8193 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.7707, allocations: 0 / 0.8193 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.243e-06/0.7707, allocations: 2.875 kB / 0.8193 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.7707, allocations: 0 / 0.8193 GB, free: 5.961 MB / 0.5919 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.0004612/0.7711, allocations: 290.5 kB / 0.8196 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.7712, allocations: 10.5 kB / 0.8196 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.821e-05/0.7712, allocations: 34.75 kB / 0.8196 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.7713, allocations: 3.875 kB / 0.8197 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.7714, allocations: 110.5 kB / 0.8198 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.311e-05/0.7715, allocations: 58.8 kB / 0.8198 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.7715, allocations: 7.922 kB / 0.8198 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.7716, allocations: 69.86 kB / 0.8199 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.7716, allocations: 0 / 0.8199 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.7716, allocations: 0 / 0.8199 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.7717, allocations: 2.938 kB / 0.8199 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.33e-05/0.7717, allocations: 15.61 kB / 0.8199 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006534/0.7724, allocations: 289.1 kB / 0.8202 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.277e-05/0.7724, allocations: 21.55 kB / 0.8202 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.555e-05/0.7724, allocations: 4.859 kB / 0.8202 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.041e-05/0.7725, allocations: 34.53 kB / 0.8202 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.7725, allocations: 30.56 kB / 0.8203 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.7725, allocations: 0 / 0.8203 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001494/0.7727, allocations: 38.94 kB / 0.8203 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.7727, allocations: 54.25 kB / 0.8204 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.203e-05/0.7728, allocations: 100.2 kB / 0.8205 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.7728, allocations: 25.7 kB / 0.8205 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/0.7729, allocations: 95.23 kB / 0.8206 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.249e-06/0.7729, allocations: 0 / 0.8206 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.7729, allocations: 22.86 kB / 0.8206 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.7731, allocations: 314.8 kB / 0.8209 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.417e-05/0.7731, allocations: 2.312 kB / 0.8209 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.542e-05/0.7731, allocations: 23.58 kB / 0.8209 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.393e-05/0.7732, allocations: 18.91 kB / 0.8209 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7732, allocations: 0 / 0.8209 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.594e-05/0.7732, allocations: 51.03 kB / 0.821 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.7732, allocations: 4.969 kB / 0.821 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.7732, allocations: 2.938 kB / 0.821 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.7733, allocations: 3.938 kB / 0.821 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.245e-05/0.7733, allocations: 6 kB / 0.821 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.7733, allocations: 0 / 0.821 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.641e-05/0.7733, allocations: 0 / 0.821 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.7733, allocations: 14.17 kB / 0.821 GB, free: 4.199 MB / 0.5919 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.843e-05/0.7734, allocations: 112.8 kB / 0.8211 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.7734, allocations: 2.906 kB / 0.8211 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.7736, allocations: 122.2 kB / 0.8212 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.132e-05/0.7737, allocations: 188.2 kB / 0.8214 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-05/0.7738, allocations: 183 kB / 0.8216 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.042e-05/0.7738, allocations: 180.2 kB / 0.8218 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/0.7741, allocations: 381.5 kB / 0.8221 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.773e-05/0.7742, allocations: 104.7 kB / 0.8222 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.671e-05/0.7742, allocations: 107.8 kB / 0.8223 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.952e-05/0.7743, allocations: 180.3 kB / 0.8225 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.177e-05/0.7744, allocations: 182.5 kB / 0.8227 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.402e-05/0.7744, allocations: 180.2 kB / 0.8228 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.217e-05/0.7745, allocations: 186.9 kB / 0.823 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.7747, allocations: 309.5 kB / 0.8233 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.567e-05/0.7748, allocations: 107.8 kB / 0.8234 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.709e-05/0.7749, allocations: 184.2 kB / 0.8236 GB, free: 1.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.775, allocations: 113.8 kB / 0.8237 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.019e-05/0.7751, allocations: 180.2 kB / 0.8239 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.564e-05/0.7752, allocations: 103.7 kB / 0.824 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.915e-05/0.7752, allocations: 88.97 kB / 0.8241 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.7752, allocations: 0 / 0.8241 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002992/0.7755, allocations: 53.11 kB / 0.8241 GB, free: 0.9102 MB / 0.5919 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.0007269/0.7763, allocations: 0.8783 MB / 0.825 GB, free: 64 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.418e-05/0.7763, allocations: 9.75 kB / 0.825 GB, free: 60 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.7763, allocations: 2.688 kB / 0.825 GB, free: 60 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.877e-06/0.7763, allocations: 4.062 kB / 0.825 GB, free: 56 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.7768, allocations: 468.5 kB / 0.8254 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.778, allocations: 1.351 MB / 0.8268 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.75e-05/0.7781, allocations: 64.23 kB / 0.8268 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.566e-05/0.7781, allocations: 9.172 kB / 0.8268 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.471e-05/0.7781, allocations: 7.438 kB / 0.8268 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of SimCode: time 3.6e-07/0.7781, allocations: 4 kB / 0.8268 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03066/0.8088, allocations: 2.756 MB / 0.8295 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/12, allocations: 6.047 kB / 0.8295 GB, free: 12.46 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion_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_SteamTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.882544711232185] Failed to read output from testmodel.py, exit status != 0: 12.106762590818107 12.122583843 11.348738017 Calling exit ...