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.0009847/0.0009847, allocations: 93.06 kB / 19.65 MB, free: 276 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.001657/0.001657, allocations: 165 kB / 23.02 MB, free: 1.547 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.063/1.063, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.8108/0.8108, allocations: 154.8 MB / 414.7 MB, free: 492 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 2.014e-06/2.014e-06, allocations: 0 / 0.5205 GB, free: 1.957 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.617e-05/3.818e-05, allocations: 4.156 kB / 0.5205 GB, free: 1.953 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1324/0.1324, allocations: 131.1 MB / 0.6486 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001686/0.1326, allocations: 59.73 kB / 0.6486 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.904e-05/0.1326, allocations: 0 / 0.6486 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.1328, allocations: 4 kB / 0.6486 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.511e-05/0.1329, allocations: 15.86 kB / 0.6486 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007893/0.1336, allocations: 270.7 kB / 0.6489 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.325e-05/0.1337, allocations: 35.84 kB / 0.6489 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.489e-05/0.1338, allocations: 0 / 0.6489 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.847e-05/0.1338, allocations: 15.98 kB / 0.6489 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.263e-05/0.1339, allocations: 19.91 kB / 0.649 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.1339, allocations: 0 / 0.649 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003383/0.1342, allocations: 183.4 kB / 0.6491 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.976e-05/0.1343, allocations: 7.984 kB / 0.6492 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.1343, allocations: 7.984 kB / 0.6492 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.1346, allocations: 175.6 kB / 0.6493 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1346, allocations: 4 kB / 0.6493 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.153e-06/0.1346, allocations: 4 kB / 0.6493 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.1346, allocations: 0 / 0.6493 GB, free: 13.76 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.0003804/0.135, allocations: 384 kB / 0.6497 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.135, allocations: 8.031 kB / 0.6497 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.033e-05/0.1351, allocations: 5.281 kB / 0.6497 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.657e-05/0.1351, allocations: 116.5 kB / 0.6498 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.442e-05/0.1352, allocations: 59.95 kB / 0.6499 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.1352, allocations: 4.312 kB / 0.6499 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.1354, allocations: 84.41 kB / 0.65 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.1354, allocations: 4 kB / 0.65 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.1354, allocations: 0 / 0.65 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.389e-05/0.1354, allocations: 0 / 0.65 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.747e-05/0.1354, allocations: 11.98 kB / 0.65 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005012/0.1359, allocations: 299.8 kB / 0.6503 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.006e-05/0.136, allocations: 30.94 kB / 0.6503 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.402e-05/0.136, allocations: 7.688 kB / 0.6503 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.82e-05/0.136, allocations: 32.05 kB / 0.6503 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.1361, allocations: 37.38 kB / 0.6504 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.954e-06/0.1361, allocations: 4 kB / 0.6504 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001306/0.1362, allocations: 37.64 kB / 0.6504 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.1362, allocations: 51.41 kB / 0.6505 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.109e-05/0.1363, allocations: 161.9 kB / 0.6506 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.1363, allocations: 25.7 kB / 0.6506 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.841e-05/0.1364, allocations: 142.8 kB / 0.6508 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.202e-06/0.1364, allocations: 7.891 kB / 0.6508 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.1364, allocations: 19.38 kB / 0.6508 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.873e-05/0.1365, allocations: 496.1 kB / 0.6513 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.336e-05/0.1365, allocations: 8.125 kB / 0.6513 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.076e-05/0.1365, allocations: 23.38 kB / 0.6513 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.807e-05/0.1366, allocations: 19.38 kB / 0.6513 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1366, allocations: 7.875 kB / 0.6513 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.185e-05/0.1366, allocations: 45.69 kB / 0.6514 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.1366, allocations: 8 kB / 0.6514 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1366, allocations: 0 / 0.6514 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1367, allocations: 0 / 0.6514 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.545e-05/0.1367, allocations: 7.984 kB / 0.6514 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1367, allocations: 8 kB / 0.6514 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.429e-05/0.1367, allocations: 8 kB / 0.6514 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.1367, allocations: 0 / 0.6514 GB, free: 11.4 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 7.117e-05/0.1368, allocations: 164.5 kB / 0.6516 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.1368, allocations: 3.938 kB / 0.6516 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.1369, allocations: 167.7 kB / 0.6517 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.084e-05/0.137, allocations: 268 kB / 0.652 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.661e-05/0.1371, allocations: 272.1 kB / 0.6522 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.077e-05/0.1371, allocations: 264.1 kB / 0.6525 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.1373, allocations: 0.492 MB / 0.653 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.354e-05/0.1373, allocations: 152.8 kB / 0.6531 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.1374, allocations: 156.8 kB / 0.6533 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.78e-05/0.1374, allocations: 264.4 kB / 0.6535 GB, free: 9.129 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.004e-05/0.1375, allocations: 264.1 kB / 0.6538 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.345e-05/0.1376, allocations: 276 kB / 0.654 GB, free: 8.586 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.786e-05/0.1376, allocations: 268.1 kB / 0.6543 GB, free: 8.316 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.1378, allocations: 444 kB / 0.6547 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.294e-05/0.1378, allocations: 168.7 kB / 0.6549 GB, free: 7.684 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.552e-05/0.1379, allocations: 264.1 kB / 0.6551 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.138, allocations: 152.9 kB / 0.6553 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/0.138, allocations: 272 kB / 0.6555 GB, free: 6.988 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/0.1381, allocations: 152.9 kB / 0.6557 GB, free: 6.832 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.093e-05/0.1381, allocations: 123.2 kB / 0.6558 GB, free: 6.711 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.1381, allocations: 0 / 0.6558 GB, free: 6.711 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002763/0.1384, allocations: 59.73 kB / 0.6559 GB, free: 6.652 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.000282/0.1387, allocations: 294.1 kB / 0.6561 GB, free: 6.359 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.616e-05/0.1388, allocations: 27.61 kB / 0.6562 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1388, allocations: 0 / 0.6562 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.034e-06/0.1388, allocations: 4 kB / 0.6562 GB, free: 6.324 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.1391, allocations: 0.7102 MB / 0.6569 GB, free: 5.609 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004577/0.1396, allocations: 233.4 kB / 0.6571 GB, free: 5.355 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.391e-05/0.1396, allocations: 59.47 kB / 0.6571 GB, free: 5.277 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.21e-05/0.1396, allocations: 7.938 kB / 0.6571 GB, free: 5.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.018e-05/0.1397, allocations: 12.5 kB / 0.6572 GB, free: 5.258 MB / 0.6198 GB Notification: Performance of SimCode: time 4.929e-06/0.1397, allocations: 0 / 0.6572 GB, free: 5.258 MB / 0.6198 GB Notification: Performance of Templates: time 0.003224/0.1429, allocations: 1.229 MB / 0.6584 GB, free: 4.039 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.1626395070925355]