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.001401/0.001401, allocations: 79.97 kB / 19.76 MB, free: 2.031 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.001443/0.001443, allocations: 158.9 kB / 23.01 MB, free: 4.941 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.477/1.477, allocations: 177.2 MB / 203.4 MB, free: 9.246 MB / 190.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.9132/0.9132, allocations: 101.3 MB / 361.1 MB, free: 10.06 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") [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.002362/0.002362, allocations: 62.25 kB / 0.5356 GB, free: 5.539 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1953, allocations: 85.89 MB / 0.6195 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.6009/0.7962, allocations: 119 MB / 0.7357 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002035/0.7964, allocations: 46.38 kB / 0.7358 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.712e-05/0.7964, allocations: 4 kB / 0.7358 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.7965, allocations: 2.672 kB / 0.7358 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.27e-05/0.7966, allocations: 16.27 kB / 0.7358 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009049/0.7975, allocations: 254.1 kB / 0.736 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.508e-05/0.7976, allocations: 33.08 kB / 0.7361 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.7976, allocations: 1.156 kB / 0.7361 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.843e-05/0.7977, allocations: 25.41 kB / 0.7361 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.961e-05/0.7978, allocations: 15.84 kB / 0.7361 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.7978, allocations: 1.812 kB / 0.7361 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003768/0.7982, allocations: 181.1 kB / 0.7363 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.846e-05/0.7982, allocations: 7.922 kB / 0.7363 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.395e-05/0.7982, allocations: 9.375 kB / 0.7363 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.7985, allocations: 163.9 kB / 0.7364 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.7985, allocations: 5.344 kB / 0.7365 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7986, allocations: 4 kB / 0.7365 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.7986, allocations: 0 / 0.7365 GB, free: 15.12 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.0004343/0.799, allocations: 288.2 kB / 0.7367 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.799, allocations: 8.938 kB / 0.7367 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.7991, allocations: 2.25 kB / 0.7367 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.7992, allocations: 109.8 kB / 0.7368 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.239e-05/0.7993, allocations: 57.62 kB / 0.7369 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.7993, allocations: 6.344 kB / 0.7369 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.7994, allocations: 71.83 kB / 0.737 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.7995, allocations: 4.875 kB / 0.737 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.7995, allocations: 0 / 0.737 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/0.7995, allocations: 1.438 kB / 0.737 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.645e-05/0.7995, allocations: 17.92 kB / 0.737 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006837/0.8002, allocations: 258.4 kB / 0.7372 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.212e-05/0.8003, allocations: 24.64 kB / 0.7373 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.529e-05/0.8003, allocations: 8.891 kB / 0.7373 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.563e-05/0.8003, allocations: 29.53 kB / 0.7373 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.8004, allocations: 35.94 kB / 0.7373 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.8004, allocations: 1.469 kB / 0.7373 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001447/0.8005, allocations: 37.17 kB / 0.7374 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.8005, allocations: 52.81 kB / 0.7374 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.592e-05/0.8006, allocations: 105.6 kB / 0.7375 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.8007, allocations: 27.08 kB / 0.7376 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.8007, allocations: 88.88 kB / 0.7376 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.218e-06/0.8007, allocations: 0 / 0.7376 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.8008, allocations: 20.03 kB / 0.7377 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.8009, allocations: 322.5 kB / 0.738 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.543e-05/0.8009, allocations: 6.938 kB / 0.738 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.842e-05/0.8009, allocations: 18.42 kB / 0.738 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.999e-05/0.801, allocations: 23.09 kB / 0.738 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.801, allocations: 1.469 kB / 0.738 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.752e-05/0.8011, allocations: 46.47 kB / 0.7381 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.8011, allocations: 5.938 kB / 0.7381 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.8011, allocations: 0 / 0.7381 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.8011, allocations: 5.5 kB / 0.7381 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.301e-05/0.8011, allocations: 8.719 kB / 0.7381 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.8012, allocations: 3.719 kB / 0.7381 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.734e-05/0.8012, allocations: 1.375 kB / 0.7381 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.8012, allocations: 1.312 kB / 0.7381 GB, free: 13.57 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 9.589e-05/0.8013, allocations: 116.8 kB / 0.7382 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.8013, allocations: 0.9375 kB / 0.7382 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.8014, allocations: 122.8 kB / 0.7383 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001494/0.8016, allocations: 181.9 kB / 0.7385 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001205/0.8017, allocations: 183.4 kB / 0.7387 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.898e-05/0.8018, allocations: 181.7 kB / 0.7388 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.802, allocations: 364.3 kB / 0.7392 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-05/0.8021, allocations: 103.5 kB / 0.7393 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.676e-05/0.8022, allocations: 106.4 kB / 0.7394 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.506e-05/0.8023, allocations: 181.4 kB / 0.7396 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.983e-05/0.8023, allocations: 184.4 kB / 0.7397 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.76e-05/0.8024, allocations: 179.7 kB / 0.7399 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000122/0.8025, allocations: 181.5 kB / 0.7401 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.8027, allocations: 313 kB / 0.7404 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.463e-05/0.8028, allocations: 108.4 kB / 0.7405 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.8029, allocations: 178.9 kB / 0.7406 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.8031, allocations: 115.1 kB / 0.7408 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.505e-05/0.8032, allocations: 182.2 kB / 0.7409 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-05/0.8032, allocations: 103.3 kB / 0.741 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.385e-05/0.8033, allocations: 88.47 kB / 0.7411 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.8033, allocations: 0 / 0.7411 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003453/0.8036, allocations: 58.34 kB / 0.7412 GB, free: 10.35 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.0003233/0.8039, allocations: 260.8 kB / 0.7414 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.582e-05/0.804, allocations: 6.75 kB / 0.7414 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.804, allocations: 0 / 0.7414 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.804, allocations: 0.9062 kB / 0.7414 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.8044, allocations: 465.3 kB / 0.7419 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002754/0.8047, allocations: 186 kB / 0.742 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.879e-05/0.8048, allocations: 63.17 kB / 0.7421 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.62e-05/0.8048, allocations: 6.422 kB / 0.7421 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.8048, allocations: 15.23 kB / 0.7421 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.8048, allocations: 1.094 kB / 0.7421 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of Templates: time 0.004018/0.8088, allocations: 1.314 MB / 0.7434 GB, free: 9.262 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.2403250630013645] Failed to read output from testmodel.py, exit status != 0: 0.8165487609803677 0.831110821 0.029432073000000003 Calling exit ...