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.001923/0.001923, allocations: 85.48 kB / 19.44 MB, free: 348 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.002075/0.002075, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.583/1.583, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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-535:34: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-535:42: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 1.313/1.313, allocations: 154.8 MB / 414.4 MB, free: 460 kB / 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 178] 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 2.374e-06/2.374e-06, allocations: 0 / 0.5198 GB, free: 2.375 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.565e-05/3.802e-05, allocations: 2.312 kB / 0.5198 GB, free: 2.371 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.2656/0.2656, allocations: 130.8 MB / 0.6476 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002145/0.2659, allocations: 47.81 kB / 0.6476 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.31e-05/0.2659, allocations: 0 / 0.6476 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.266, allocations: 7.922 kB / 0.6476 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.554e-05/0.2661, allocations: 11.92 kB / 0.6477 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.2673, allocations: 258.8 kB / 0.6479 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.2675, allocations: 27.86 kB / 0.6479 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.096e-05/0.2675, allocations: 7.984 kB / 0.6479 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.57e-05/0.2676, allocations: 23.86 kB / 0.648 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.925e-05/0.2677, allocations: 11.98 kB / 0.648 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.2677, allocations: 0 / 0.648 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006274/0.2683, allocations: 175.4 kB / 0.6481 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8e-05/0.2684, allocations: 15.98 kB / 0.6482 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.2685, allocations: 4 kB / 0.6482 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006148/0.2691, allocations: 179.5 kB / 0.6483 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.264e-05/0.2691, allocations: 8 kB / 0.6483 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2691, allocations: 0 / 0.6483 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.995e-05/0.2691, allocations: 0 / 0.6483 GB, free: 14.48 MB / 0.6198 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.0007213/0.2698, allocations: 384 kB / 0.6487 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.2699, allocations: 8.031 kB / 0.6487 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.391e-05/0.27, allocations: 8.922 kB / 0.6487 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.2701, allocations: 108.6 kB / 0.6488 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.2703, allocations: 59.97 kB / 0.6489 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.2703, allocations: 384 / 0.6489 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.2705, allocations: 79.62 kB / 0.649 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2705, allocations: 0 / 0.649 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.2705, allocations: 0 / 0.649 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.717e-05/0.2705, allocations: 0 / 0.649 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.835e-05/0.2706, allocations: 11.98 kB / 0.649 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008187/0.2714, allocations: 303.7 kB / 0.6493 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.027e-05/0.2714, allocations: 34.94 kB / 0.6493 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.294e-05/0.2715, allocations: 15.75 kB / 0.6493 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.742e-05/0.2716, allocations: 27.98 kB / 0.6493 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.2716, allocations: 33.39 kB / 0.6494 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.2716, allocations: 0 / 0.6494 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002039/0.2718, allocations: 41.69 kB / 0.6494 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.2719, allocations: 51.41 kB / 0.6495 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.272, allocations: 169.9 kB / 0.6496 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.272, allocations: 25.7 kB / 0.6496 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.524e-05/0.2721, allocations: 130.8 kB / 0.6498 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.045e-06/0.2721, allocations: 4.078 kB / 0.6498 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.2722, allocations: 27.38 kB / 0.6498 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002655/0.2724, allocations: 0.4884 MB / 0.6503 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.536e-05/0.2725, allocations: 0 / 0.6503 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.245e-05/0.2725, allocations: 23.38 kB / 0.6503 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.559e-05/0.2726, allocations: 23.38 kB / 0.6503 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.2726, allocations: 3.938 kB / 0.6503 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001011/0.2727, allocations: 49.62 kB / 0.6504 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.2727, allocations: 10.34 kB / 0.6504 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2727, allocations: 8 kB / 0.6504 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.2727, allocations: 0 / 0.6504 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.115e-05/0.2728, allocations: 4.281 kB / 0.6504 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.2728, allocations: 3.984 kB / 0.6504 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.316e-05/0.2728, allocations: 4 kB / 0.6504 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.2728, allocations: 0 / 0.6504 GB, free: 12.13 MB / 0.6198 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 0.0001273/0.2729, allocations: 172.4 kB / 0.6506 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.273, allocations: 0 / 0.6506 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.2731, allocations: 167.7 kB / 0.6507 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001339/0.2733, allocations: 272.1 kB / 0.651 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001381/0.2734, allocations: 272 kB / 0.6512 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001421/0.2736, allocations: 268.1 kB / 0.6515 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003638/0.2739, allocations: 499.8 kB / 0.652 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.916e-05/0.274, allocations: 148.8 kB / 0.6521 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.864e-05/0.2741, allocations: 152.9 kB / 0.6523 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001406/0.2742, allocations: 272 kB / 0.6525 GB, free: 9.852 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000145/0.2744, allocations: 268.1 kB / 0.6528 GB, free: 9.582 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001557/0.2745, allocations: 272 kB / 0.653 GB, free: 9.309 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001583/0.2747, allocations: 268.1 kB / 0.6533 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.275, allocations: 444 kB / 0.6537 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.754e-05/0.2751, allocations: 156.8 kB / 0.6539 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/0.2752, allocations: 272 kB / 0.6541 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.2754, allocations: 148.9 kB / 0.6543 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.2755, allocations: 268 kB / 0.6545 GB, free: 7.723 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.901e-05/0.2756, allocations: 148.9 kB / 0.6547 GB, free: 7.57 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.893e-05/0.2757, allocations: 131.2 kB / 0.6548 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.2757, allocations: 0 / 0.6548 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003324/0.276, allocations: 55.75 kB / 0.6548 GB, free: 7.387 MB / 0.6198 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.000425/0.2765, allocations: 294.5 kB / 0.6551 GB, free: 7.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.2766, allocations: 31.55 kB / 0.6552 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2766, allocations: 0 / 0.6552 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.893e-06/0.2766, allocations: 0 / 0.6552 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006314/0.2772, allocations: 0.713 MB / 0.6558 GB, free: 6.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000505/0.2777, allocations: 229.2 kB / 0.6561 GB, free: 6.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.869e-05/0.2778, allocations: 63.33 kB / 0.6561 GB, free: 6.008 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.413e-05/0.2779, allocations: 11.86 kB / 0.6561 GB, free: 5.996 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.2779, allocations: 8.5 kB / 0.6561 GB, free: 5.988 MB / 0.6198 GB Notification: Performance of SimCode: time 1.042e-06/0.2779, allocations: 3.938 kB / 0.6561 GB, free: 5.984 MB / 0.6198 GB Notification: Performance of Templates: time 0.00507/0.283, allocations: 1.362 MB / 0.6575 GB, free: 4.633 MB / 0.6198 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.670815261080861]