Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007773/0.0007773, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007683/0.0007683, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.874/0.874, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7181/0.7181, allocations: 154.5 MB / 414.5 MB, free: 0.8359 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.6192 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.135e-05, allocations: 5.344 kB / 0.6192 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4062/0.4062, allocations: 119 MB / 0.7355 GB, free: 27.22 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000142/0.4064, allocations: 48.09 kB / 0.7355 GB, free: 27.19 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.351e-05/0.4064, allocations: 5.062 kB / 0.7355 GB, free: 27.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.4065, allocations: 3.938 kB / 0.7355 GB, free: 27.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.341e-05/0.4066, allocations: 18.53 kB / 0.7355 GB, free: 27.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007187/0.4073, allocations: 246.7 kB / 0.7358 GB, free: 27.06 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.134e-05/0.4074, allocations: 39.19 kB / 0.7358 GB, free: 27.05 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.4074, allocations: 5.25 kB / 0.7358 GB, free: 27.04 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.182e-05/0.4075, allocations: 17.91 kB / 0.7358 GB, free: 27.04 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.977e-05/0.4075, allocations: 9.328 kB / 0.7358 GB, free: 27.04 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.4076, allocations: 1.125 kB / 0.7358 GB, free: 27.04 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002765/0.4078, allocations: 185.3 kB / 0.736 GB, free: 26.97 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.534e-05/0.4079, allocations: 6.188 kB / 0.736 GB, free: 26.96 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 1.917e-05/0.4079, allocations: 8.344 kB / 0.736 GB, free: 26.96 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.4082, allocations: 181.1 kB / 0.7362 GB, free: 26.91 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.4082, allocations: 0 / 0.7362 GB, free: 26.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.043e-06/0.4082, allocations: 5.219 kB / 0.7362 GB, free: 26.91 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.4082, allocations: 0 / 0.7362 GB, free: 26.91 MB / 0.6355 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.0002963/0.4085, allocations: 282.1 kB / 0.7365 GB, free: 26.63 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.4085, allocations: 11.16 kB / 0.7365 GB, free: 26.63 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.4085, allocations: 3.156 kB / 0.7365 GB, free: 26.63 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.327e-05/0.4086, allocations: 110.6 kB / 0.7366 GB, free: 26.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.012e-05/0.4086, allocations: 53.41 kB / 0.7367 GB, free: 26.44 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-06/0.4086, allocations: 5.828 kB / 0.7367 GB, free: 26.44 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.979e-05/0.4087, allocations: 68.25 kB / 0.7367 GB, free: 26.37 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.4088, allocations: 5.375 kB / 0.7367 GB, free: 26.37 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.4088, allocations: 4 kB / 0.7367 GB, free: 26.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.4088, allocations: 1.406 kB / 0.7367 GB, free: 26.36 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.393e-05/0.4088, allocations: 12.67 kB / 0.7367 GB, free: 26.36 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.4093, allocations: 258.3 kB / 0.737 GB, free: 26.15 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.509e-05/0.4093, allocations: 23.8 kB / 0.737 GB, free: 26.12 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.087e-05/0.4093, allocations: 6.172 kB / 0.737 GB, free: 26.11 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/0.4094, allocations: 31.86 kB / 0.737 GB, free: 26.11 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.4094, allocations: 35.97 kB / 0.7371 GB, free: 26.06 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/0.4094, allocations: 11.22 kB / 0.7371 GB, free: 26.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001124/0.4095, allocations: 35.08 kB / 0.7371 GB, free: 26.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.869e-05/0.4095, allocations: 52.72 kB / 0.7372 GB, free: 25.96 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.114e-05/0.4096, allocations: 107.7 kB / 0.7373 GB, free: 25.85 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.275e-06/0.4096, allocations: 25.7 kB / 0.7373 GB, free: 25.82 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/0.4096, allocations: 86.67 kB / 0.7374 GB, free: 25.73 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.401e-06/0.4096, allocations: 4.578 kB / 0.7374 GB, free: 25.73 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.493e-05/0.4096, allocations: 21.27 kB / 0.7374 GB, free: 25.71 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.169e-05/0.4097, allocations: 311.9 kB / 0.7377 GB, free: 25.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.256e-05/0.4097, allocations: 5.141 kB / 0.7377 GB, free: 25.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.769e-05/0.4097, allocations: 22.22 kB / 0.7377 GB, free: 25.38 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.599e-05/0.4097, allocations: 16.94 kB / 0.7378 GB, free: 25.36 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4097, allocations: 3.938 kB / 0.7378 GB, free: 25.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.89e-05/0.4098, allocations: 49.91 kB / 0.7378 GB, free: 25.32 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.4098, allocations: 9.391 kB / 0.7378 GB, free: 25.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.4098, allocations: 0 / 0.7378 GB, free: 25.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.4098, allocations: 1.188 kB / 0.7378 GB, free: 25.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.077e-05/0.4099, allocations: 4.406 kB / 0.7378 GB, free: 25.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.4099, allocations: 4.938 kB / 0.7378 GB, free: 25.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.255e-05/0.4099, allocations: 4.906 kB / 0.7378 GB, free: 25.31 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.4099, allocations: 2.312 kB / 0.7378 GB, free: 25.31 MB / 0.6355 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 3.895e-05/0.4099, allocations: 112.8 kB / 0.7379 GB, free: 25.19 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.385e-05/0.4099, allocations: 8.5 kB / 0.7379 GB, free: 25.19 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.418e-05/0.41, allocations: 119.4 kB / 0.7381 GB, free: 25.07 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.41, allocations: 181.5 kB / 0.7382 GB, free: 24.89 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/0.41, allocations: 184.8 kB / 0.7384 GB, free: 24.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.4101, allocations: 181.3 kB / 0.7386 GB, free: 24.52 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.6e-05/0.4101, allocations: 359.8 kB / 0.7389 GB, free: 24.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.4101, allocations: 102.2 kB / 0.739 GB, free: 24.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.064e-05/0.4102, allocations: 118 kB / 0.7391 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.517e-05/0.4102, allocations: 177.3 kB / 0.7393 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.4102, allocations: 178.5 kB / 0.7395 GB, free: 23.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-05/0.4102, allocations: 184.6 kB / 0.7396 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-05/0.4102, allocations: 177.5 kB / 0.7398 GB, free: 23.19 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.409e-05/0.4103, allocations: 313.2 kB / 0.7401 GB, free: 22.87 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.462e-05/0.4103, allocations: 106.4 kB / 0.7402 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.4103, allocations: 187.9 kB / 0.7404 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.051e-05/0.4104, allocations: 110.8 kB / 0.7405 GB, free: 22.46 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.4104, allocations: 186.4 kB / 0.7407 GB, free: 22.28 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.4104, allocations: 106 kB / 0.7408 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.478e-05/0.4104, allocations: 84.19 kB / 0.7409 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4104, allocations: 0 / 0.7409 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002306/0.4107, allocations: 56.81 kB / 0.7409 GB, free: 22.07 MB / 0.6355 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.0002516/0.4109, allocations: 253.8 kB / 0.7412 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.895e-05/0.411, allocations: 13.69 kB / 0.7412 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.411, allocations: 0 / 0.7412 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.411, allocations: 1.5 kB / 0.7412 GB, free: 21.88 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.4112, allocations: 459.5 kB / 0.7416 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002343/0.4115, allocations: 207.3 kB / 0.7418 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.867e-05/0.4115, allocations: 67.61 kB / 0.7419 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.4115, allocations: 12.69 kB / 0.7419 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of SimCode: time 7.92e-07/0.4115, allocations: 1.219 kB / 0.7419 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of Templates: time 0.002508/0.414, allocations: 1.256 MB / 0.7431 GB, free: 21 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.523226788267493] Failed to read output from testmodel.py, exit status != 0: 0.420537899248302 0.430763363 0.020148608000000002 Calling exit ...