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.001047/0.001047, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001095/0.001095, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.002/1.002, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.7994/0.7994, allocations: 154.9 MB / 415.9 MB, free: 264 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.884e-06/1.884e-06, allocations: 0 / 0.5219 GB, free: 1.555 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.329e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.551 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1211/0.1211, allocations: 128.7 MB / 0.6475 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001476/0.1213, allocations: 51.81 kB / 0.6475 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.891e-05/0.1213, allocations: 0 / 0.6475 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.1214, allocations: 7.922 kB / 0.6476 GB, free: 0.5586 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.535e-05/0.1215, allocations: 11.88 kB / 0.6476 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009268/0.1224, allocations: 262.8 kB / 0.6478 GB, free: 296 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.331e-05/0.1225, allocations: 39.84 kB / 0.6479 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.1225, allocations: 0 / 0.6479 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.1e-05/0.1226, allocations: 23.91 kB / 0.6479 GB, free: 232 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.695e-05/0.1227, allocations: 11.98 kB / 0.6479 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.1227, allocations: 4 kB / 0.6479 GB, free: 216 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002911/0.123, allocations: 179.4 kB / 0.6481 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.884e-05/0.123, allocations: 11.97 kB / 0.6481 GB, free: 24 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.655e-05/0.123, allocations: 4 kB / 0.6481 GB, free: 20 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.1233, allocations: 179.5 kB / 0.6482 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.1233, allocations: 4 kB / 0.6483 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1233, allocations: 0 / 0.6483 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.1233, allocations: 0 / 0.6483 GB, free: 15.84 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.0002943/0.1236, allocations: 388 kB / 0.6486 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.1236, allocations: 8.031 kB / 0.6486 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.1237, allocations: 4.938 kB / 0.6486 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.427e-05/0.1237, allocations: 120.8 kB / 0.6488 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.948e-05/0.1238, allocations: 51.97 kB / 0.6488 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.1238, allocations: 4.375 kB / 0.6488 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.424e-05/0.1239, allocations: 84.34 kB / 0.6489 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.451e-06/0.1239, allocations: 0 / 0.6489 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.1239, allocations: 4 kB / 0.6489 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.1239, allocations: 0 / 0.6489 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.655e-05/0.1239, allocations: 4 kB / 0.6489 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.1243, allocations: 280.4 kB / 0.6492 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 2.978e-05/0.1243, allocations: 27.06 kB / 0.6492 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.404e-05/0.1243, allocations: 15.56 kB / 0.6492 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-05/0.1244, allocations: 40.03 kB / 0.6492 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.1244, allocations: 45.38 kB / 0.6493 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.1244, allocations: 0 / 0.6493 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001002/0.1245, allocations: 33.69 kB / 0.6493 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.1245, allocations: 51.41 kB / 0.6494 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.613e-05/0.1246, allocations: 161.9 kB / 0.6495 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.1246, allocations: 25.7 kB / 0.6495 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/0.1247, allocations: 138.8 kB / 0.6497 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.205e-06/0.1247, allocations: 11.89 kB / 0.6497 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/0.1247, allocations: 15.38 kB / 0.6497 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1248, allocations: 496.1 kB / 0.6502 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.913e-06/0.1248, allocations: 12.05 kB / 0.6502 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.489e-05/0.1248, allocations: 19.38 kB / 0.6502 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.613e-05/0.1248, allocations: 23.38 kB / 0.6502 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1248, allocations: 4 kB / 0.6502 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.102e-05/0.1249, allocations: 49.56 kB / 0.6503 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.1249, allocations: 7.938 kB / 0.6503 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1249, allocations: 0 / 0.6503 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.712e-06/0.1249, allocations: 0 / 0.6503 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.801e-05/0.1249, allocations: 12.06 kB / 0.6503 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.1249, allocations: 0 / 0.6503 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.15e-05/0.125, allocations: 0 / 0.6503 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.125, allocations: 7.984 kB / 0.6503 GB, free: 13.51 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.831e-05/0.125, allocations: 164.6 kB / 0.6505 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.125, allocations: 3.938 kB / 0.6505 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.411e-05/0.1251, allocations: 167.6 kB / 0.6506 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-05/0.1252, allocations: 268.1 kB / 0.6509 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.815e-05/0.1252, allocations: 272 kB / 0.6511 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-05/0.1253, allocations: 268.1 kB / 0.6514 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.1255, allocations: 484.5 kB / 0.6519 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.902e-05/0.1255, allocations: 144.9 kB / 0.652 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.039e-05/0.1255, allocations: 153 kB / 0.6521 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.544e-05/0.1256, allocations: 272 kB / 0.6524 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.473e-05/0.1256, allocations: 268 kB / 0.6527 GB, free: 10.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.554e-05/0.1257, allocations: 272 kB / 0.6529 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.867e-05/0.1257, allocations: 264.1 kB / 0.6532 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.1258, allocations: 448 kB / 0.6536 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.33e-05/0.1259, allocations: 148.9 kB / 0.6537 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.298e-05/0.1259, allocations: 272 kB / 0.654 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.944e-05/0.126, allocations: 156.9 kB / 0.6541 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/0.1261, allocations: 268.1 kB / 0.6544 GB, free: 9.129 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.1261, allocations: 152.8 kB / 0.6545 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.984e-05/0.1262, allocations: 131.2 kB / 0.6547 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.1262, allocations: 0 / 0.6547 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003389/0.1265, allocations: 51.75 kB / 0.6547 GB, free: 8.793 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.0002201/0.1267, allocations: 302.1 kB / 0.655 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.166e-05/0.1268, allocations: 19.69 kB / 0.655 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1268, allocations: 0 / 0.655 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.033e-06/0.1268, allocations: 3.938 kB / 0.655 GB, free: 8.461 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.1271, allocations: 0.7103 MB / 0.6557 GB, free: 7.746 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000343/0.1274, allocations: 241.5 kB / 0.656 GB, free: 7.484 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.633e-05/0.1274, allocations: 51.36 kB / 0.656 GB, free: 7.414 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.085e-05/0.1275, allocations: 4 kB / 0.656 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.011e-05/0.1275, allocations: 82.17 kB / 0.6561 GB, free: 7.328 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.1275, allocations: 4 kB / 0.6561 GB, free: 7.324 MB / 0.6198 GB Notification: Performance of Templates: time 0.00278/0.1303, allocations: 1.431 MB / 0.6575 GB, free: 5.906 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.9439814728684723]