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.0006689/0.0006689, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000822/0.001491, allocations: 435.8 kB / 10.33 MB, free: 364 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.0006797/0.0006797, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008127/0.001492, allocations: 463.6 kB / 11.68 MB, free: 2.48 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.9683/0.9683, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08904/1.057, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.7486/0.7486, allocations: 155.3 MB / 399.2 MB, free: 15.93 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.2757/1.024, allocations: 49.12 MB / 448.4 MB, free: 6.043 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.523e-06/1.523e-06, allocations: 0 / 449.7 MB, free: 4.777 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.043e-05, allocations: 2.312 kB / 449.7 MB, free: 4.773 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1431/0.1431, allocations: 131 MB / 0.5671 GB, free: 1.719 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0002151/0.1433, allocations: 51.75 kB / 0.5671 GB, free: 1.668 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.937e-05/0.1434, allocations: 4 kB / 0.5672 GB, free: 1.664 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 7.552e-05/0.1434, allocations: 3.938 kB / 0.5672 GB, free: 1.66 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 5.903e-05/0.1435, allocations: 15.91 kB / 0.5672 GB, free: 1.645 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006322/0.1441, allocations: 266.7 kB / 0.5674 GB, free: 1.383 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 7.289e-05/0.1442, allocations: 35.47 kB / 0.5675 GB, free: 1.352 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 3.32e-05/0.1442, allocations: 0 / 0.5675 GB, free: 1.352 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 6.122e-05/0.1443, allocations: 31.92 kB / 0.5675 GB, free: 1.32 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 5.862e-05/0.1443, allocations: 11.97 kB / 0.5675 GB, free: 1.309 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.1444, allocations: 0 / 0.5675 GB, free: 1.309 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002824/0.1446, allocations: 183.4 kB / 0.5677 GB, free: 1.129 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 3.648e-05/0.1447, allocations: 15.92 kB / 0.5677 GB, free: 1.113 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 1.516e-05/0.1447, allocations: 4 kB / 0.5677 GB, free: 1.109 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.1449, allocations: 151.6 kB / 0.5678 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.536e-05/0.1449, allocations: 4 kB / 0.5678 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1449, allocations: 0 / 0.5678 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.1449, allocations: 0 / 0.5678 GB, free: 0.957 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.0004071/0.1454, allocations: 284.3 kB / 0.5681 GB, free: 0.6562 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.1454, allocations: 8.031 kB / 0.5681 GB, free: 0.6484 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.1454, allocations: 8.938 kB / 0.5681 GB, free: 0.6406 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.306e-05/0.1455, allocations: 107.8 kB / 0.5682 GB, free: 0.5117 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.776e-05/0.1455, allocations: 51.97 kB / 0.5683 GB, free: 460 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.206e-06/0.1455, allocations: 4.375 kB / 0.5683 GB, free: 456 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.1457, allocations: 83.22 kB / 0.5684 GB, free: 356 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-06/0.1457, allocations: 7.984 kB / 0.5684 GB, free: 348 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.1457, allocations: 3.984 kB / 0.5684 GB, free: 344 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.1457, allocations: 4 kB / 0.5684 GB, free: 340 kB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.769e-05/0.1457, allocations: 4 kB / 0.5684 GB, free: 336 kB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.146, allocations: 205.9 kB / 0.5686 GB, free: 112 kB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 3.022e-05/0.1461, allocations: 18.58 kB / 0.5686 GB, free: 84 kB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.06e-05/0.1461, allocations: 4.859 kB / 0.5686 GB, free: 76 kB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.855e-05/0.1461, allocations: 36.02 kB / 0.5686 GB, free: 40 kB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.1461, allocations: 30.66 kB / 0.5687 GB, free: 16 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/0.1462, allocations: 4 kB / 0.5687 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 9.492e-05/0.1462, allocations: 33.55 kB / 0.5687 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.1463, allocations: 55.41 kB / 0.5688 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.984e-05/0.1463, allocations: 110.6 kB / 0.5689 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.1463, allocations: 25.7 kB / 0.5689 GB, free: 15.74 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.63e-05/0.1464, allocations: 88.09 kB / 0.569 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.041e-06/0.1464, allocations: 11.92 kB / 0.569 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/0.1464, allocations: 17.7 kB / 0.569 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.463e-05/0.1465, allocations: 310.8 kB / 0.5693 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.31e-06/0.1465, allocations: 128 / 0.5693 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.68e-05/0.1465, allocations: 17.72 kB / 0.5693 GB, free: 15.28 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.594e-05/0.1465, allocations: 28.47 kB / 0.5693 GB, free: 15.24 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1465, allocations: 0 / 0.5693 GB, free: 15.24 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.128e-05/0.1466, allocations: 41.62 kB / 0.5694 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.1466, allocations: 8 kB / 0.5694 GB, free: 15.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1466, allocations: 3.938 kB / 0.5694 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.583e-06/0.1466, allocations: 0 / 0.5694 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.671e-05/0.1466, allocations: 11.94 kB / 0.5694 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.1466, allocations: 8.062 kB / 0.5694 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.172e-05/0.1466, allocations: 4 kB / 0.5694 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.1467, allocations: 0 / 0.5694 GB, free: 15.16 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 4.657e-05/0.1467, allocations: 112.7 kB / 0.5695 GB, free: 15.04 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.1467, allocations: 7.922 kB / 0.5695 GB, free: 15.03 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.1469, allocations: 120.9 kB / 0.5696 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.698e-05/0.147, allocations: 184.2 kB / 0.5698 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.578e-05/0.147, allocations: 184.2 kB / 0.57 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.809e-05/0.1471, allocations: 180.2 kB / 0.5702 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.1472, allocations: 321.5 kB / 0.5705 GB, free: 14 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.256e-05/0.1472, allocations: 101 kB / 0.5706 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.411e-05/0.1472, allocations: 112.9 kB / 0.5707 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.1472, allocations: 101 kB / 0.5708 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.6e-05/0.1473, allocations: 184.1 kB / 0.571 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/0.1473, allocations: 184.3 kB / 0.5711 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-05/0.1474, allocations: 176.3 kB / 0.5713 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-05/0.1474, allocations: 188.4 kB / 0.5715 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.271e-05/0.1475, allocations: 303.8 kB / 0.5718 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.476e-05/0.1475, allocations: 184.2 kB / 0.5719 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.072e-05/0.1476, allocations: 113 kB / 0.572 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.1476, allocations: 184.5 kB / 0.5722 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.1477, allocations: 105 kB / 0.5723 GB, free: 12.01 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.291e-05/0.1477, allocations: 8.859 kB / 0.5723 GB, free: 12 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.1477, allocations: 0 / 0.5723 GB, free: 12 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001692/0.1478, allocations: 55.73 kB / 0.5724 GB, free: 11.94 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.0002524/0.1481, allocations: 243.4 kB / 0.5726 GB, free: 11.69 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 4.932e-05/0.1482, allocations: 16.73 kB / 0.5726 GB, free: 11.67 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.1482, allocations: 3.984 kB / 0.5726 GB, free: 11.67 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.82e-07/0.1482, allocations: 0 / 0.5726 GB, free: 11.67 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.1484, allocations: 471.4 kB / 0.5731 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009268/0.1493, allocations: 204.7 kB / 0.5733 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.611e-05/0.1494, allocations: 59.36 kB / 0.5733 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.167e-05/0.1494, allocations: 4 kB / 0.5733 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.375e-05/0.1494, allocations: 59.34 kB / 0.5734 GB, free: 10.84 MB / 0.5573 GB Notification: Performance of SimCode: time 5.51e-07/0.1494, allocations: 0 / 0.5734 GB, free: 10.84 MB / 0.5573 GB Notification: Performance of Templates: time 0.002647/0.1521, allocations: 1.442 MB / 0.5748 GB, free: 9.41 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.5916332034394145]