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.001004/0.001004, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.00102/0.00102, allocations: 173 kB / 23.49 MB, free: 1.059 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.003/1.003, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.8115/0.8115, allocations: 154.8 MB / 415.1 MB, free: 0.4922 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 2.495e-06/2.495e-06, allocations: 0 / 0.5205 GB, free: 2.266 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.66e-05/3.909e-05, allocations: 7.016 kB / 0.5205 GB, free: 2.262 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1212/0.1212, allocations: 130.9 MB / 0.6483 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001449/0.1214, allocations: 51.81 kB / 0.6484 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.346e-05/0.1214, allocations: 3.938 kB / 0.6484 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.1215, allocations: 0 / 0.6484 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.831e-05/0.1216, allocations: 17.55 kB / 0.6484 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007585/0.1224, allocations: 254.8 kB / 0.6487 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.186e-05/0.1225, allocations: 35.78 kB / 0.6487 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.822e-05/0.1225, allocations: 0 / 0.6487 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.992e-05/0.1226, allocations: 23.92 kB / 0.6487 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.374e-05/0.1226, allocations: 15.97 kB / 0.6487 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.1226, allocations: 0 / 0.6487 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003073/0.1229, allocations: 179.4 kB / 0.6489 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.238e-05/0.123, allocations: 8 kB / 0.6489 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.123, allocations: 7.938 kB / 0.6489 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.1233, allocations: 175.6 kB / 0.6491 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1233, allocations: 3.938 kB / 0.6491 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1233, allocations: 0 / 0.6491 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.1233, allocations: 0 / 0.6491 GB, free: 14.35 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.0004214/0.1237, allocations: 384 kB / 0.6494 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.1238, allocations: 8.031 kB / 0.6495 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.1238, allocations: 13.27 kB / 0.6495 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.994e-05/0.1239, allocations: 116.5 kB / 0.6496 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.032e-05/0.124, allocations: 59.91 kB / 0.6496 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.124, allocations: 384 / 0.6496 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.1241, allocations: 80.41 kB / 0.6497 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.169e-06/0.1241, allocations: 0 / 0.6497 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.1242, allocations: 0 / 0.6497 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/0.1242, allocations: 0 / 0.6497 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.213e-05/0.1242, allocations: 19.97 kB / 0.6497 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005417/0.1248, allocations: 299.8 kB / 0.65 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.017e-05/0.1248, allocations: 34.94 kB / 0.6501 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.476e-05/0.1248, allocations: 7.688 kB / 0.6501 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.933e-05/0.1249, allocations: 36.03 kB / 0.6501 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.1249, allocations: 33.39 kB / 0.6501 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 2.284e-06/0.1249, allocations: 0 / 0.6501 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.00013/0.125, allocations: 33.7 kB / 0.6502 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.125, allocations: 55.34 kB / 0.6502 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.644e-05/0.1251, allocations: 161.9 kB / 0.6504 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.1251, allocations: 25.7 kB / 0.6504 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.1252, allocations: 143 kB / 0.6505 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.841e-06/0.1252, allocations: 7.891 kB / 0.6505 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.1252, allocations: 27.3 kB / 0.6506 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0003673/0.1256, allocations: 496.1 kB / 0.651 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.6e-05/0.1256, allocations: 4 kB / 0.651 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.178e-05/0.1256, allocations: 19.38 kB / 0.6511 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.122e-05/0.1256, allocations: 23.36 kB / 0.6511 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1256, allocations: 3.938 kB / 0.6511 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.506e-05/0.1257, allocations: 49.67 kB / 0.6511 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1257, allocations: 8 kB / 0.6511 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1257, allocations: 0 / 0.6511 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1257, allocations: 0 / 0.6511 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.701e-05/0.1258, allocations: 7.984 kB / 0.6511 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1258, allocations: 4 kB / 0.6511 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.564e-05/0.1258, allocations: 4 kB / 0.6512 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.1258, allocations: 3.938 kB / 0.6512 GB, free: 11.98 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 6.579e-05/0.1259, allocations: 164.5 kB / 0.6513 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.1259, allocations: 0 / 0.6513 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.126, allocations: 171.7 kB / 0.6515 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.585e-05/0.1261, allocations: 272 kB / 0.6517 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.749e-05/0.1261, allocations: 268.1 kB / 0.652 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-05/0.1262, allocations: 264.1 kB / 0.6522 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.1264, allocations: 0.492 MB / 0.6527 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.438e-05/0.1264, allocations: 148.8 kB / 0.6529 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.588e-05/0.1264, allocations: 156.8 kB / 0.653 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-05/0.1265, allocations: 264.1 kB / 0.6533 GB, free: 9.715 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/0.1265, allocations: 268.1 kB / 0.6535 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-05/0.1266, allocations: 272 kB / 0.6538 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-05/0.1267, allocations: 268.1 kB / 0.654 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.1268, allocations: 448 kB / 0.6545 GB, free: 8.438 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.242e-05/0.1268, allocations: 156.8 kB / 0.6546 GB, free: 8.277 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.143e-05/0.1269, allocations: 272 kB / 0.6549 GB, free: 8.004 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.127, allocations: 144.9 kB / 0.655 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.146e-05/0.1271, allocations: 276 kB / 0.6553 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/0.1271, allocations: 148.9 kB / 0.6554 GB, free: 7.426 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.47e-05/0.1272, allocations: 123.2 kB / 0.6555 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.1272, allocations: 0 / 0.6555 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002461/0.1274, allocations: 59.73 kB / 0.6556 GB, free: 7.246 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.0003097/0.1277, allocations: 306.6 kB / 0.6559 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.329e-05/0.1278, allocations: 27.61 kB / 0.6559 GB, free: 6.906 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1278, allocations: 0 / 0.6559 GB, free: 6.906 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.1278, allocations: 0 / 0.6559 GB, free: 6.906 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.1282, allocations: 0.722 MB / 0.6566 GB, free: 6.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004742/0.1287, allocations: 229.1 kB / 0.6568 GB, free: 5.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.632e-05/0.1287, allocations: 55.36 kB / 0.6569 GB, free: 5.855 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.1e-05/0.1287, allocations: 4 kB / 0.6569 GB, free: 5.852 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.992e-05/0.1287, allocations: 8.5 kB / 0.6569 GB, free: 5.844 MB / 0.6198 GB Notification: Performance of SimCode: time 8.12e-07/0.1287, allocations: 4 kB / 0.6569 GB, free: 5.84 MB / 0.6198 GB Notification: Performance of Templates: time 0.00362/0.1324, allocations: 1.366 MB / 0.6582 GB, free: 4.488 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: 4.061295456951484]