Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007483/0.007483, allocations: 99.97 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 190.3 kB / 16.67 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 46.08 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1121, allocations: 46.63 MB / 373.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04776/0.1599, allocations: 39.26 MB / 412.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003181/0.1631, allocations: 2.027 MB / 414.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004426/0.1636, allocations: 4 kB / 414.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008041/0.1644, allocations: 174.9 kB / 414.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.1655, allocations: 310.3 kB / 415 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008495/0.1663, allocations: 291.4 kB / 415.3 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001273/0.1676, allocations: 0.8368 MB / 416.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002599/0.1679, allocations: 96.69 kB / 416.2 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3961/0.564, allocations: 44.1 MB / 460.3 MB, free: 36.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006495/0.5647, allocations: 269.8 kB / 460.6 MB, free: 36.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.306e-05/0.5648, allocations: 29.22 kB / 460.6 MB, free: 36.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.565, allocations: 38.59 kB / 460.6 MB, free: 36.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.5651, allocations: 89.19 kB / 460.7 MB, free: 36.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002472/0.5654, allocations: 180.5 kB / 460.9 MB, free: 36.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005872/0.566, allocations: 443.3 kB / 461.3 MB, free: 36.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.566, allocations: 0 / 461.3 MB, free: 36.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.566, allocations: 0 / 461.3 MB, free: 36.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.566, allocations: 0 / 461.3 MB, free: 36.14 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001022/0.5671, allocations: 0.5947 MB / 461.9 MB, free: 35.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.5671, allocations: 8.781 kB / 461.9 MB, free: 35.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000332/0.5675, allocations: 45.16 kB / 462 MB, free: 35.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/0.5679, allocations: 289.5 kB / 462.2 MB, free: 35.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.5679, allocations: 18.11 kB / 462.3 MB, free: 35.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.297e-05/0.568, allocations: 28 kB / 462.3 MB, free: 35.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004846/0.5685, allocations: 304.7 kB / 462.6 MB, free: 35.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.5685, allocations: 5.031 kB / 462.6 MB, free: 35.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/0.5686, allocations: 14 kB / 462.6 MB, free: 35.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.5686, allocations: 6.844 kB / 462.6 MB, free: 35.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003479/0.5689, allocations: 194.2 kB / 462.8 MB, free: 35.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.5705, allocations: 1.434 MB / 464.2 MB, free: 34.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003436/0.5709, allocations: 181 kB / 464.4 MB, free: 34.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.5711, allocations: 98.83 kB / 464.5 MB, free: 34.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.043e-05/0.5711, allocations: 2.375 kB / 464.5 MB, free: 34.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.5712, allocations: 35.84 kB / 464.5 MB, free: 34.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.643e-06/0.5712, allocations: 0 / 464.5 MB, free: 34.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.002465/0.5736, allocations: 1.008 MB / 465.6 MB, free: 33.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.5737, allocations: 54.31 kB / 465.6 MB, free: 33.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.5739, allocations: 262.6 kB / 465.9 MB, free: 33.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.574, allocations: 30.58 kB / 465.9 MB, free: 33.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.096e-05/0.5741, allocations: 177.1 kB / 466.1 MB, free: 33.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.954e-05/0.5741, allocations: 101.2 kB / 466.2 MB, free: 33.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-05/0.5742, allocations: 65.91 kB / 466.2 MB, free: 33.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.255e-05/0.5743, allocations: 337 kB / 466.6 MB, free: 33.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.5744, allocations: 82.78 kB / 466.6 MB, free: 33.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.5746, allocations: 186.8 kB / 466.8 MB, free: 32.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.575, allocations: 282.7 kB / 467.1 MB, free: 32.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.575, allocations: 1.344 kB / 467.1 MB, free: 32.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006047/0.5756, allocations: 388.1 kB / 467.5 MB, free: 32.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.5756, allocations: 6.688 kB / 467.5 MB, free: 32.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.5756, allocations: 4.344 kB / 467.5 MB, free: 32.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002631/0.5759, allocations: 67.12 kB / 467.6 MB, free: 32.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002843/0.5762, allocations: 67.75 kB / 467.6 MB, free: 32.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/0.578, allocations: 2.88 MB / 470.5 MB, free: 30.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.5782, allocations: 18.58 kB / 470.5 MB, free: 30.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.5783, allocations: 10.81 kB / 470.5 MB, free: 30.07 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001734/0.5784, allocations: 157 kB / 470.7 MB, free: 29.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.681e-05/0.5785, allocations: 30.25 kB / 470.7 MB, free: 29.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.992e-05/0.5786, allocations: 38.53 kB / 470.8 MB, free: 29.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/0.5786, allocations: 3.188 kB / 470.8 MB, free: 29.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.5786, allocations: 4.266 kB / 470.8 MB, free: 29.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006242/0.5793, allocations: 0.5623 MB / 471.3 MB, free: 29.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009614/0.5802, allocations: 0.7026 MB / 472 MB, free: 29.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5802, allocations: 0 / 472 MB, free: 29.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.5804, allocations: 45.62 kB / 472.1 MB, free: 29.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000205/0.5807, allocations: 49.97 kB / 472.1 MB, free: 29.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.5807, allocations: 14.33 kB / 472.1 MB, free: 29.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008485/0.5815, allocations: 1.49 MB / 473.6 MB, free: 27.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5816, allocations: 3.281 kB / 473.6 MB, free: 27.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006211/0.5822, allocations: 475.7 kB / 474.1 MB, free: 27.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.773e-05/0.5823, allocations: 107.8 kB / 474.2 MB, free: 27.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.395e-05/0.5823, allocations: 9.938 kB / 474.2 MB, free: 27.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.5825, allocations: 3.953 kB / 474.2 MB, free: 27.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.5826, allocations: 19.38 kB / 474.2 MB, free: 27.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.5826, allocations: 10.72 kB / 474.2 MB, free: 27.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001548/0.5827, allocations: 190.7 kB / 474.4 MB, free: 27.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.81e-07/0.5828, allocations: 0 / 474.4 MB, free: 27.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004119/0.5832, allocations: 87.17 kB / 474.5 MB, free: 27.41 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001157/0.5833, allocations: 109.2 kB / 474.6 MB, free: 27.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007291/0.584, allocations: 477.8 kB / 475.1 MB, free: 27.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.584, allocations: 4 kB / 475.1 MB, free: 27.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003279/0.5844, allocations: 231.8 kB / 475.3 MB, free: 26.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008947/0.5853, allocations: 156.6 kB / 475.5 MB, free: 26.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.5864, allocations: 0.7006 MB / 476.2 MB, free: 26.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.5866, allocations: 0.7652 MB / 476.9 MB, free: 25.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002367/0.5869, allocations: 53.39 kB / 477 MB, free: 25.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.833e-05/0.5869, allocations: 25.72 kB / 477 MB, free: 25.89 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5869, allocations: 1.656 kB / 477 MB, free: 25.89 MB / 382.1 MB Notification: Performance of Templates: time 0.01027/0.5972, allocations: 5.749 MB / 482.8 MB, free: 25.22 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1)