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.006201/0.006201, allocations: 101 kB / 15.73 MB, free: 6.055 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.001179/0.001179, allocations: 196.6 kB / 16.68 MB, free: 5.969 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.516/1.516, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.001145/0.001145, allocations: 46.38 kB / 326.6 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1144, allocations: 46.63 MB / 373.2 MB, free: 1.273 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04844/0.1628, allocations: 39.25 MB / 412.5 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003448/0.1664, allocations: 2.039 MB / 414.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004659/0.1669, allocations: 4 kB / 414.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008503/0.1678, allocations: 170.9 kB / 414.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.169, allocations: 318.2 kB / 415 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009899/0.17, allocations: 279.5 kB / 415.3 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001323/0.1713, allocations: 0.8407 MB / 416.1 MB, free: 6.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000262/0.1716, allocations: 88.69 kB / 416.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3698/0.5414, allocations: 44.1 MB / 460.3 MB, free: 35.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006112/0.5421, allocations: 277.8 kB / 460.6 MB, free: 35.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.06e-05/0.5422, allocations: 29.59 kB / 460.6 MB, free: 35.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.5423, allocations: 38.53 kB / 460.6 MB, free: 35.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.5425, allocations: 88.3 kB / 460.7 MB, free: 35.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002154/0.5427, allocations: 180.5 kB / 460.9 MB, free: 35.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005853/0.5433, allocations: 437.1 kB / 461.3 MB, free: 35.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5433, allocations: 0 / 461.3 MB, free: 35.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5433, allocations: 1.031 kB / 461.3 MB, free: 35.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.5433, allocations: 0 / 461.3 MB, free: 35.7 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.0008639/0.5442, allocations: 0.5865 MB / 461.9 MB, free: 35.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.5442, allocations: 8.875 kB / 461.9 MB, free: 35.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000278/0.5445, allocations: 47.84 kB / 462 MB, free: 35.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004196/0.545, allocations: 291 kB / 462.2 MB, free: 35.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.545, allocations: 19.84 kB / 462.3 MB, free: 35.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.864e-05/0.545, allocations: 24.75 kB / 462.3 MB, free: 35.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/0.5455, allocations: 308.4 kB / 462.6 MB, free: 34.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.5455, allocations: 4.469 kB / 462.6 MB, free: 34.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.5456, allocations: 9.875 kB / 462.6 MB, free: 34.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.5456, allocations: 6.375 kB / 462.6 MB, free: 34.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003389/0.5459, allocations: 199.6 kB / 462.8 MB, free: 34.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.5476, allocations: 1.424 MB / 464.2 MB, free: 33.92 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004512/0.5481, allocations: 185.1 kB / 464.4 MB, free: 33.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.5483, allocations: 87.58 kB / 464.5 MB, free: 33.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/0.5483, allocations: 3.156 kB / 464.5 MB, free: 33.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.5484, allocations: 35.5 kB / 464.5 MB, free: 33.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.954e-06/0.5484, allocations: 4.812 kB / 464.5 MB, free: 33.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.003469/0.5519, allocations: 0.9971 MB / 465.5 MB, free: 33.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.5519, allocations: 60.94 kB / 465.6 MB, free: 33.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003744/0.5523, allocations: 263.6 kB / 465.8 MB, free: 33.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.5523, allocations: 34.14 kB / 465.9 MB, free: 33.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.5525, allocations: 175.5 kB / 466 MB, free: 33.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.2e-05/0.5526, allocations: 96.52 kB / 466.1 MB, free: 33.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.5527, allocations: 58.42 kB / 466.2 MB, free: 33.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.412e-05/0.5528, allocations: 334.8 kB / 466.5 MB, free: 32.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.553, allocations: 87.5 kB / 466.6 MB, free: 32.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/0.5534, allocations: 186.8 kB / 466.8 MB, free: 32.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005204/0.5539, allocations: 283.4 kB / 467.1 MB, free: 32.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5539, allocations: 1.094 kB / 467.1 MB, free: 32.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000977/0.5549, allocations: 391.7 kB / 467.5 MB, free: 32.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.5549, allocations: 6.781 kB / 467.5 MB, free: 32.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.5549, allocations: 3.438 kB / 467.5 MB, free: 32.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003227/0.5553, allocations: 61.52 kB / 467.5 MB, free: 32.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004761/0.5558, allocations: 70.56 kB / 467.6 MB, free: 32.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/0.5582, allocations: 2.889 MB / 470.5 MB, free: 29.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003846/0.5586, allocations: 11.97 kB / 470.5 MB, free: 29.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/0.5586, allocations: 13.91 kB / 470.5 MB, free: 29.68 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.0002028/0.5588, allocations: 152.8 kB / 470.7 MB, free: 29.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.341e-05/0.5589, allocations: 26.22 kB / 470.7 MB, free: 29.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.974e-05/0.5591, allocations: 36.75 kB / 470.7 MB, free: 29.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.5591, allocations: 7.938 kB / 470.7 MB, free: 29.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.5591, allocations: 0 / 470.7 MB, free: 29.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007409/0.5598, allocations: 0.5609 MB / 471.3 MB, free: 29.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/0.5613, allocations: 0.7033 MB / 472 MB, free: 28.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.5613, allocations: 1.25 kB / 472 MB, free: 28.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.5617, allocations: 45.59 kB / 472 MB, free: 28.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002924/0.562, allocations: 50.28 kB / 472.1 MB, free: 28.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.562, allocations: 9.875 kB / 472.1 MB, free: 28.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001187/0.5632, allocations: 1.491 MB / 473.6 MB, free: 27.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5632, allocations: 1.75 kB / 473.6 MB, free: 27.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009154/0.5642, allocations: 480 kB / 474.1 MB, free: 27.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.122e-05/0.5643, allocations: 101.6 kB / 474.2 MB, free: 27.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.623e-05/0.5643, allocations: 6.094 kB / 474.2 MB, free: 27.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.5647, allocations: 5.406 kB / 474.2 MB, free: 27.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.5647, allocations: 19.22 kB / 474.2 MB, free: 27.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/0.5648, allocations: 7.844 kB / 474.2 MB, free: 27.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002625/0.5651, allocations: 196 kB / 474.4 MB, free: 27.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5651, allocations: 0 / 474.4 MB, free: 27.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007689/0.5658, allocations: 85.69 kB / 474.5 MB, free: 27.04 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.0001603/0.566, allocations: 105.6 kB / 474.6 MB, free: 26.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.5671, allocations: 478.5 kB / 475 MB, free: 26.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5671, allocations: 0 / 475 MB, free: 26.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004871/0.5676, allocations: 236.7 kB / 475.3 MB, free: 26.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.569, allocations: 158.3 kB / 475.4 MB, free: 26.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.5706, allocations: 0.692 MB / 476.1 MB, free: 26.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.5709, allocations: 0.7623 MB / 476.9 MB, free: 25.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003877/0.5713, allocations: 52.34 kB / 476.9 MB, free: 25.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.5714, allocations: 28.31 kB / 477 MB, free: 25.54 MB / 382.1 MB Notification: Performance of SimCode: time 7.72e-07/0.5714, allocations: 0 / 477 MB, free: 25.54 MB / 382.1 MB Notification: Performance of Templates: time 0.01735/0.5888, allocations: 5.745 MB / 482.7 MB, free: 24.86 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)