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.001366/0.001366, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.00142/0.00142, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.507/1.507, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.863/0.863, allocations: 133.9 MB / 442.8 MB, free: 11.28 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.001935/0.001935, allocations: 62.62 kB / 0.6134 GB, free: 8.738 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1729, allocations: 85.85 MB / 0.6972 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5709/0.7437, allocations: 138.7 MB / 0.8327 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001894/0.7439, allocations: 49.78 kB / 0.8327 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.521e-05/0.744, allocations: 0 / 0.8327 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.7441, allocations: 7.938 kB / 0.8327 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.824e-05/0.7442, allocations: 12.67 kB / 0.8327 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008718/0.745, allocations: 246.3 kB / 0.833 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.746e-05/0.7451, allocations: 41.34 kB / 0.833 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.282e-05/0.7452, allocations: 7.062 kB / 0.833 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.231e-05/0.7452, allocations: 6.969 kB / 0.833 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.6e-05/0.7453, allocations: 19.69 kB / 0.833 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.7453, allocations: 0 / 0.833 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004787/0.7458, allocations: 261.4 kB / 0.8333 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.318e-05/0.7458, allocations: 2.688 kB / 0.8333 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.909e-05/0.7458, allocations: 16.83 kB / 0.8333 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003177/0.7462, allocations: 183.5 kB / 0.8335 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7462, allocations: 0 / 0.8335 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7462, allocations: 5.531 kB / 0.8335 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.7462, allocations: 4 kB / 0.8335 GB, free: 10.5 MB / 0.6075 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.0004852/0.7467, allocations: 367.3 kB / 0.8338 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.7467, allocations: 11.52 kB / 0.8339 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.348e-05/0.7467, allocations: 30.75 kB / 0.8339 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.7468, allocations: 3.062 kB / 0.8339 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.7469, allocations: 164.4 kB / 0.834 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.868e-05/0.747, allocations: 29.02 kB / 0.8341 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.198e-06/0.747, allocations: 3.938 kB / 0.8341 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.7471, allocations: 51.59 kB / 0.8341 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.7471, allocations: 0 / 0.8341 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.7471, allocations: 3.984 kB / 0.8341 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.7472, allocations: 2.531 kB / 0.8341 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.372e-05/0.7472, allocations: 13.95 kB / 0.8341 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008241/0.748, allocations: 0.6031 MB / 0.8347 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.978e-05/0.7481, allocations: 21.39 kB / 0.8348 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.386e-05/0.7481, allocations: 8.797 kB / 0.8348 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002487/0.7483, allocations: 333.3 kB / 0.8351 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.7484, allocations: 37.94 kB / 0.8351 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.7484, allocations: 0 / 0.8351 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001672/0.7485, allocations: 34.97 kB / 0.8351 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.7486, allocations: 58.25 kB / 0.8352 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.126e-05/0.7487, allocations: 102.9 kB / 0.8353 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.7487, allocations: 25.7 kB / 0.8353 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.111e-05/0.7487, allocations: 85.91 kB / 0.8354 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.448e-06/0.7487, allocations: 0 / 0.8354 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.7488, allocations: 19.5 kB / 0.8354 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.7489, allocations: 322.7 kB / 0.8357 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.7489, allocations: 2.438 kB / 0.8357 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.418e-05/0.7489, allocations: 20.19 kB / 0.8358 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.48e-05/0.749, allocations: 17.41 kB / 0.8358 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.749, allocations: 0 / 0.8358 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.126e-05/0.7491, allocations: 58.17 kB / 0.8358 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.7491, allocations: 11.62 kB / 0.8358 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.7491, allocations: 0 / 0.8358 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.7491, allocations: 64 / 0.8358 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.932e-05/0.7491, allocations: 12.86 kB / 0.8359 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.7491, allocations: 0 / 0.8359 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.829e-05/0.7492, allocations: 4.594 kB / 0.8359 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.7492, allocations: 3.938 kB / 0.8359 GB, free: 7.855 MB / 0.6075 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.1e-05/0.7493, allocations: 111.9 kB / 0.836 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.7493, allocations: 2.5 kB / 0.836 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.7494, allocations: 120 kB / 0.8361 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-05/0.7495, allocations: 180.5 kB / 0.8363 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.15e-05/0.7496, allocations: 190.6 kB / 0.8364 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.663e-05/0.7496, allocations: 180.2 kB / 0.8366 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.7499, allocations: 407.7 kB / 0.837 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.255e-05/0.7499, allocations: 103.2 kB / 0.8371 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.671e-05/0.75, allocations: 113 kB / 0.8372 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-05/0.75, allocations: 183.1 kB / 0.8374 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-05/0.7501, allocations: 176.3 kB / 0.8375 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.734e-05/0.7502, allocations: 180.2 kB / 0.8377 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.086e-05/0.7503, allocations: 179 kB / 0.8379 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.7504, allocations: 317.8 kB / 0.8382 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.563e-05/0.7505, allocations: 184.4 kB / 0.8384 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-05/0.7506, allocations: 190.9 kB / 0.8386 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.7508, allocations: 107.7 kB / 0.8387 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.473e-05/0.7509, allocations: 180.3 kB / 0.8388 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.44e-05/0.7509, allocations: 108.9 kB / 0.8389 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.411e-05/0.751, allocations: 88.23 kB / 0.839 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6.1e-08/0.751, allocations: 0 / 0.839 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003364/0.7513, allocations: 53.97 kB / 0.8391 GB, free: 4.43 MB / 0.6075 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.0007404/0.7521, allocations: 0.885 MB / 0.8399 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.344e-05/0.7522, allocations: 12.97 kB / 0.8399 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7522, allocations: 0 / 0.8399 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.7522, allocations: 128 / 0.8399 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004789/0.7526, allocations: 464.8 kB / 0.8404 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.7539, allocations: 1.347 MB / 0.8417 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.7542, allocations: 0.6747 MB / 0.8424 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.04e-05/0.7543, allocations: 9.781 kB / 0.8424 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/0.7543, allocations: 9.75 kB / 0.8424 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.7543, allocations: 0 / 0.8424 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02518/0.7795, allocations: 2.211 MB / 0.8445 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.802/8.582, allocations: 10.59 kB / 0.8445 GB, free: 15.84 MB / 0.6231 GB " [Timeout remaining time 651] (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: 12.248211405007169] Failed to read output from testmodel.py, exit status != 0: 8.651297471995349 8.672334631 7.922213275 Calling exit ...