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.0007303/0.0007303, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001037/0.001767, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000739/0.000739, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009832/0.001722, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9725/0.9725, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08142/1.054, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7705/0.7705, allocations: 155.3 MB / 399.5 MB, free: 15.81 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.27/1.041, allocations: 49.13 MB / 448.6 MB, free: 5.969 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.723e-06/1.723e-06, allocations: 0 / 449.9 MB, free: 4.68 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.671e-05, allocations: 4.422 kB / 449.9 MB, free: 4.676 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1215/0.1216, allocations: 131 MB / 0.5674 GB, free: 1.602 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0002074/0.1218, allocations: 55.75 kB / 0.5674 GB, free: 1.547 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.608e-05/0.1218, allocations: 0 / 0.5674 GB, free: 1.547 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.1219, allocations: 4 kB / 0.5674 GB, free: 1.543 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 7.847e-05/0.122, allocations: 23.78 kB / 0.5675 GB, free: 1.52 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007926/0.1228, allocations: 258.8 kB / 0.5677 GB, free: 1.266 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.1229, allocations: 35.84 kB / 0.5677 GB, free: 1.23 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 5.026e-05/0.1229, allocations: 4 kB / 0.5677 GB, free: 1.227 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 7.105e-05/0.123, allocations: 19.98 kB / 0.5678 GB, free: 1.207 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 8.707e-05/0.1231, allocations: 15.91 kB / 0.5678 GB, free: 1.191 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.1231, allocations: 4 kB / 0.5678 GB, free: 1.188 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003952/0.1235, allocations: 183.4 kB / 0.568 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 5.115e-05/0.1236, allocations: 8 kB / 0.568 GB, free: 1 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 1.933e-05/0.1236, allocations: 4 kB / 0.568 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.1238, allocations: 163.5 kB / 0.5681 GB, free: 0.8359 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.19e-05/0.1238, allocations: 0 / 0.5681 GB, free: 0.8359 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.883e-06/0.1238, allocations: 0 / 0.5681 GB, free: 0.8359 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.1238, allocations: 0 / 0.5681 GB, free: 0.8359 MB / 0.5417 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.0003439/0.1242, allocations: 280.4 kB / 0.5684 GB, free: 0.5391 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.1242, allocations: 8.031 kB / 0.5684 GB, free: 0.5312 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.1243, allocations: 4.938 kB / 0.5684 GB, free: 0.5273 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.966e-05/0.1243, allocations: 107.9 kB / 0.5685 GB, free: 408 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.166e-05/0.1244, allocations: 55.97 kB / 0.5686 GB, free: 340 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.1244, allocations: 4.375 kB / 0.5686 GB, free: 336 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.1245, allocations: 91.2 kB / 0.5686 GB, free: 228 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-06/0.1245, allocations: 0 / 0.5686 GB, free: 228 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-06/0.1245, allocations: 0 / 0.5686 GB, free: 228 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.1246, allocations: 0 / 0.5686 GB, free: 228 kB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.799e-05/0.1246, allocations: 7.938 kB / 0.5687 GB, free: 220 kB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003736/0.1249, allocations: 201.9 kB / 0.5688 GB, free: 0 / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 3.161e-05/0.125, allocations: 14.7 kB / 0.5689 GB, free: 15.97 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.142e-05/0.125, allocations: 16.86 kB / 0.5689 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.62e-05/0.125, allocations: 39.94 kB / 0.5689 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.1251, allocations: 30.56 kB / 0.5689 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.1251, allocations: 4 kB / 0.5689 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 9.009e-05/0.1251, allocations: 33.64 kB / 0.569 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.1252, allocations: 51.41 kB / 0.569 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.293e-05/0.1252, allocations: 106.7 kB / 0.5691 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.1252, allocations: 25.7 kB / 0.5692 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.1253, allocations: 92.08 kB / 0.5692 GB, free: 15.53 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.268e-06/0.1253, allocations: 4.062 kB / 0.5692 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.279e-05/0.1253, allocations: 25.7 kB / 0.5693 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.497e-05/0.1254, allocations: 310.8 kB / 0.5696 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.442e-06/0.1254, allocations: 4 kB / 0.5696 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.278e-05/0.1254, allocations: 13.72 kB / 0.5696 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.493e-05/0.1254, allocations: 24.47 kB / 0.5696 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1254, allocations: 4 kB / 0.5696 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.423e-05/0.1255, allocations: 45.56 kB / 0.5697 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.1255, allocations: 4.062 kB / 0.5697 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1255, allocations: 4 kB / 0.5697 GB, free: 15.06 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.428e-06/0.1255, allocations: 4 kB / 0.5697 GB, free: 15.06 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.509e-05/0.1255, allocations: 4 kB / 0.5697 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.1255, allocations: 0 / 0.5697 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.325e-05/0.1255, allocations: 4 kB / 0.5697 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.1255, allocations: 0 / 0.5697 GB, free: 15.05 MB / 0.5573 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.461e-05/0.1256, allocations: 128.6 kB / 0.5698 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/0.1256, allocations: 4.219 kB / 0.5698 GB, free: 14.91 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.081e-05/0.1257, allocations: 120.9 kB / 0.5699 GB, free: 14.78 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-05/0.1257, allocations: 188.2 kB / 0.5701 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002941/0.126, allocations: 176.3 kB / 0.5703 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-05/0.1261, allocations: 184.2 kB / 0.5704 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.1262, allocations: 317.5 kB / 0.5707 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-05/0.1262, allocations: 112.9 kB / 0.5709 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.998e-05/0.1262, allocations: 101 kB / 0.5709 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.535e-05/0.1263, allocations: 105 kB / 0.571 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.708e-05/0.1263, allocations: 184.1 kB / 0.5712 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.553e-05/0.1263, allocations: 180.3 kB / 0.5714 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.602e-05/0.1264, allocations: 188.1 kB / 0.5716 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.494e-05/0.1264, allocations: 180.3 kB / 0.5717 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.53e-05/0.1265, allocations: 311.8 kB / 0.572 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.1265, allocations: 184.2 kB / 0.5722 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.282e-05/0.1266, allocations: 108.9 kB / 0.5723 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.1267, allocations: 176.5 kB / 0.5725 GB, free: 12 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.1267, allocations: 112.9 kB / 0.5726 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.781e-05/0.1267, allocations: 16.84 kB / 0.5726 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.1267, allocations: 0 / 0.5726 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001823/0.1269, allocations: 51.75 kB / 0.5727 GB, free: 11.81 MB / 0.5573 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.0002314/0.1271, allocations: 239.4 kB / 0.5729 GB, free: 11.56 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 4.763e-05/0.1272, allocations: 16.86 kB / 0.5729 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.1272, allocations: 0 / 0.5729 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.1272, allocations: 0 / 0.5729 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.1274, allocations: 0.5108 MB / 0.5734 GB, free: 11.02 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006486/0.128, allocations: 200.7 kB / 0.5736 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.607e-05/0.1281, allocations: 55.36 kB / 0.5737 GB, free: 10.72 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.268e-05/0.1281, allocations: 7.984 kB / 0.5737 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.529e-05/0.1281, allocations: 59.36 kB / 0.5737 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of SimCode: time 2.5e-07/0.1281, allocations: 0 / 0.5737 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of Templates: time 0.002672/0.1308, allocations: 1.459 MB / 0.5751 GB, free: 9.215 MB / 0.5573 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.6177002005279064]