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.0008073/0.0008073, allocations: 100.4 kB / 19.7 MB, free: 440 kB / 13.93 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.0008492/0.0008492, allocations: 215.4 kB / 23 MB, free: 2.965 MB / 13.93 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.9336/0.9336, allocations: 230.6 MB / 256.8 MB, free: 9.625 MB / 202.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.7733/0.7733, allocations: 203.8 MB / 0.5049 GB, free: 10.43 MB / 410.7 MB " [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: 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.0009555/0.0009555, allocations: 62.56 kB / 0.7194 GB, free: 3.555 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4892/0.4901, allocations: 102 MB / 0.819 GB, free: 1.312 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1119/0.602, allocations: 119 MB / 0.9352 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001308/0.6021, allocations: 43.83 kB / 0.9352 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.546e-05/0.6022, allocations: 0 / 0.9352 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.6023, allocations: 3.984 kB / 0.9353 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.236e-05/0.6023, allocations: 15.92 kB / 0.9353 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007426/0.6031, allocations: 250.1 kB / 0.9355 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.771e-05/0.6032, allocations: 35.86 kB / 0.9355 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.981e-05/0.6032, allocations: 3.984 kB / 0.9355 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.272e-05/0.6032, allocations: 11.94 kB / 0.9356 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.904e-05/0.6033, allocations: 11.98 kB / 0.9356 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.6033, allocations: 0 / 0.9356 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000292/0.6036, allocations: 183.5 kB / 0.9357 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.513e-05/0.6037, allocations: 3.984 kB / 0.9357 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.6037, allocations: 19.92 kB / 0.9358 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.6039, allocations: 162.5 kB / 0.9359 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.6039, allocations: 0 / 0.9359 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6039, allocations: 0 / 0.9359 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.6039, allocations: 3.938 kB / 0.9359 GB, free: 13.46 MB / 0.7136 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.0003348/0.6043, allocations: 286 kB / 0.9362 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.6043, allocations: 12.03 kB / 0.9362 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/0.6043, allocations: 4.875 kB / 0.9362 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.139e-05/0.6044, allocations: 110.5 kB / 0.9363 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.221e-05/0.6045, allocations: 55.97 kB / 0.9364 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.6045, allocations: 7.938 kB / 0.9364 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.6046, allocations: 75.33 kB / 0.9364 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.6046, allocations: 3.984 kB / 0.9365 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.6046, allocations: 3.984 kB / 0.9365 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.6046, allocations: 0 / 0.9365 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.833e-05/0.6047, allocations: 19.98 kB / 0.9365 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005025/0.6052, allocations: 256.4 kB / 0.9367 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.714e-05/0.6052, allocations: 14.58 kB / 0.9367 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.307e-05/0.6052, allocations: 12.84 kB / 0.9367 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.282e-05/0.6053, allocations: 35.98 kB / 0.9368 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.6053, allocations: 34.55 kB / 0.9368 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/0.6053, allocations: 0 / 0.9368 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001172/0.6054, allocations: 33.7 kB / 0.9368 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.6054, allocations: 51.41 kB / 0.9369 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.302e-05/0.6055, allocations: 101.8 kB / 0.937 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.6055, allocations: 25.7 kB / 0.937 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.718e-05/0.6055, allocations: 92.09 kB / 0.9371 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.977e-06/0.6055, allocations: 0 / 0.9371 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-05/0.6056, allocations: 21.8 kB / 0.9371 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.304e-05/0.6056, allocations: 322.8 kB / 0.9374 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.142e-05/0.6056, allocations: 11.88 kB / 0.9374 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.777e-05/0.6057, allocations: 13.72 kB / 0.9375 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.799e-05/0.6057, allocations: 25.7 kB / 0.9375 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6057, allocations: 0 / 0.9375 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.118e-05/0.6057, allocations: 45.64 kB / 0.9375 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.6058, allocations: 4 kB / 0.9375 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.6058, allocations: 8.062 kB / 0.9375 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.6058, allocations: 0 / 0.9375 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.553e-05/0.6058, allocations: 7.984 kB / 0.9375 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.6058, allocations: 0 / 0.9375 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.182e-05/0.6058, allocations: 4 kB / 0.9375 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.6058, allocations: 0 / 0.9375 GB, free: 11.6 MB / 0.7136 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 5.116e-05/0.6059, allocations: 113.8 kB / 0.9377 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.6059, allocations: 0 / 0.9377 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.622e-05/0.606, allocations: 132.8 kB / 0.9378 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.634e-05/0.606, allocations: 176.3 kB / 0.938 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.071e-05/0.6061, allocations: 184.2 kB / 0.9381 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.381e-05/0.6061, allocations: 180.3 kB / 0.9383 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.6062, allocations: 360.8 kB / 0.9386 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.14e-05/0.6063, allocations: 104.9 kB / 0.9387 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.2e-05/0.6063, allocations: 101 kB / 0.9388 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.881e-05/0.6063, allocations: 184.2 kB / 0.939 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.839e-05/0.6064, allocations: 180.2 kB / 0.9392 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.648e-05/0.6064, allocations: 180.3 kB / 0.9394 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.755e-05/0.6064, allocations: 188.2 kB / 0.9395 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.316e-05/0.6065, allocations: 311.9 kB / 0.9398 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.733e-05/0.6066, allocations: 113 kB / 0.9399 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/0.6066, allocations: 188.2 kB / 0.9401 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.924e-05/0.6067, allocations: 109 kB / 0.9402 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.6067, allocations: 176.3 kB / 0.9404 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.6068, allocations: 108.9 kB / 0.9405 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.851e-05/0.6068, allocations: 83.28 kB / 0.9406 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.6068, allocations: 0 / 0.9406 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000211/0.607, allocations: 59.73 kB / 0.9406 GB, free: 8.246 MB / 0.7136 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.0002333/0.6072, allocations: 255.1 kB / 0.9409 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.041e-05/0.6073, allocations: 4 kB / 0.9409 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.6073, allocations: 0 / 0.9409 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.6073, allocations: 3.938 kB / 0.9409 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.6076, allocations: 467.6 kB / 0.9413 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002293/0.6078, allocations: 208 kB / 0.9415 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.294e-05/0.6078, allocations: 71.19 kB / 0.9416 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.965e-05/0.6079, allocations: 7.438 kB / 0.9416 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of SimCode: time 7.31e-07/0.6079, allocations: 0 / 0.9416 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of Templates: time 0.00216/0.61, allocations: 1.249 MB / 0.9428 GB, free: 5.938 MB / 0.7136 GB " [Timeout remaining time 659] 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.955819282215089] Failed to read output from testmodel.py, exit status != 0: 0.6158930980600417 0.62344561 0.01763369 Calling exit ...