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.0009712/0.0009712, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001256/0.001256, allocations: 169 kB / 23.27 MB, free: 1.223 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.031/1.031, allocations: 177.1 MB / 203.7 MB, free: 5.484 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-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 0.795/0.795, allocations: 154.9 MB / 415.1 MB, free: 256 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 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.613e-06/1.613e-06, allocations: 0 / 0.5211 GB, free: 1.531 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.649e-05, allocations: 6.797 kB / 0.5211 GB, free: 1.527 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1412/0.1412, allocations: 128.6 MB / 0.6467 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001561/0.1414, allocations: 51.69 kB / 0.6468 GB, free: 0.5586 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.892e-05/0.1414, allocations: 0 / 0.6468 GB, free: 0.5586 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.1415, allocations: 4 kB / 0.6468 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.129e-05/0.1416, allocations: 23.84 kB / 0.6468 GB, free: 0.5312 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007738/0.1424, allocations: 254.8 kB / 0.647 GB, free: 288 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.556e-05/0.1424, allocations: 35.84 kB / 0.6471 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.426e-05/0.1425, allocations: 7.984 kB / 0.6471 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.027e-05/0.1425, allocations: 23.92 kB / 0.6471 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.588e-05/0.1426, allocations: 7.984 kB / 0.6471 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.1426, allocations: 4 kB / 0.6471 GB, free: 208 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002697/0.1429, allocations: 179.4 kB / 0.6473 GB, free: 28 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/0.1429, allocations: 8 kB / 0.6473 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.953e-05/0.1429, allocations: 15.91 kB / 0.6473 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.1432, allocations: 171.6 kB / 0.6475 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1432, allocations: 0 / 0.6475 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1432, allocations: 0 / 0.6475 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.1432, allocations: 4 kB / 0.6475 GB, free: 15.83 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.0003178/0.1435, allocations: 388 kB / 0.6479 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.1435, allocations: 11.97 kB / 0.6479 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.1436, allocations: 4.938 kB / 0.6479 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.951e-05/0.1436, allocations: 112.9 kB / 0.648 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.901e-05/0.1437, allocations: 55.97 kB / 0.648 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/0.1437, allocations: 4.375 kB / 0.648 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.585e-05/0.1438, allocations: 76.41 kB / 0.6481 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-06/0.1438, allocations: 4 kB / 0.6481 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.1438, allocations: 3.984 kB / 0.6481 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.1438, allocations: 4 kB / 0.6481 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.541e-05/0.1438, allocations: 4 kB / 0.6481 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003753/0.1442, allocations: 292.3 kB / 0.6484 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.083e-05/0.1442, allocations: 23.06 kB / 0.6484 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.264e-05/0.1443, allocations: 15.66 kB / 0.6484 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.371e-05/0.1443, allocations: 40.03 kB / 0.6485 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.1443, allocations: 33.39 kB / 0.6485 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.1443, allocations: 0 / 0.6485 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 9.937e-05/0.1444, allocations: 49.62 kB / 0.6486 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.1444, allocations: 51.41 kB / 0.6486 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.478e-05/0.1445, allocations: 157.9 kB / 0.6488 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.1445, allocations: 25.7 kB / 0.6488 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.1446, allocations: 138.8 kB / 0.6489 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.36e-06/0.1446, allocations: 11.83 kB / 0.6489 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-05/0.1446, allocations: 23.38 kB / 0.6489 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.1447, allocations: 496.1 kB / 0.6494 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.995e-06/0.1447, allocations: 4 kB / 0.6494 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.783e-05/0.1447, allocations: 23.36 kB / 0.6494 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.321e-05/0.1448, allocations: 27.44 kB / 0.6495 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1448, allocations: 0 / 0.6495 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.776e-05/0.1448, allocations: 49.62 kB / 0.6495 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.1448, allocations: 4 kB / 0.6495 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1448, allocations: 7.938 kB / 0.6495 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.1448, allocations: 0 / 0.6495 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.78e-05/0.1449, allocations: 4 kB / 0.6495 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-06/0.1449, allocations: 0 / 0.6495 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.065e-05/0.1449, allocations: 4.062 kB / 0.6495 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-06/0.1449, allocations: 4 kB / 0.6495 GB, free: 13.49 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 5.629e-05/0.1449, allocations: 152.6 kB / 0.6497 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.1449, allocations: 7.938 kB / 0.6497 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.067e-05/0.145, allocations: 171.7 kB / 0.6499 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.543e-05/0.1451, allocations: 268 kB / 0.6501 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.725e-05/0.1452, allocations: 264.1 kB / 0.6504 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.046e-05/0.1452, allocations: 276 kB / 0.6506 GB, free: 12.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.1454, allocations: 480.5 kB / 0.6511 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.499e-05/0.1454, allocations: 152.9 kB / 0.6512 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.116e-05/0.1454, allocations: 149 kB / 0.6514 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.748e-05/0.1455, allocations: 276.1 kB / 0.6516 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.719e-05/0.1455, allocations: 276 kB / 0.6519 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.298e-05/0.1456, allocations: 264.1 kB / 0.6522 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.284e-05/0.1456, allocations: 268 kB / 0.6524 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.1458, allocations: 444 kB / 0.6528 GB, free: 9.969 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/0.1458, allocations: 148.8 kB / 0.653 GB, free: 9.816 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.584e-05/0.1459, allocations: 276 kB / 0.6532 GB, free: 9.539 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.669e-05/0.146, allocations: 148.8 kB / 0.6534 GB, free: 9.387 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.31e-05/0.146, allocations: 272.1 kB / 0.6536 GB, free: 9.113 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.146, allocations: 152.9 kB / 0.6538 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.739e-05/0.1461, allocations: 123.2 kB / 0.6539 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.1461, allocations: 0 / 0.6539 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001976/0.1463, allocations: 63.67 kB / 0.654 GB, free: 8.773 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.0002332/0.1465, allocations: 306 kB / 0.6543 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 4.764e-05/0.1466, allocations: 11.97 kB / 0.6543 GB, free: 8.449 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1466, allocations: 0 / 0.6543 GB, free: 8.449 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.684e-06/0.1466, allocations: 4 kB / 0.6543 GB, free: 8.445 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.1469, allocations: 0.7119 MB / 0.655 GB, free: 7.73 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.1472, allocations: 233.3 kB / 0.6552 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.042e-05/0.1473, allocations: 51.36 kB / 0.6552 GB, free: 7.406 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.142e-05/0.1473, allocations: 12.11 kB / 0.6552 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.282e-05/0.1474, allocations: 86.17 kB / 0.6553 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of SimCode: time 3.31e-07/0.1474, allocations: 0 / 0.6553 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of Templates: time 0.002679/0.15, allocations: 1.432 MB / 0.6567 GB, free: 5.887 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: 3.8818368008360267]