Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001165/0.001165, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001423/0.001423, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.65/1.65, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0005541/0.0005543, allocations: 8 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.267, allocations: 47.59 MB / 326.5 MB, free: 1.543 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.03771/0.3048, allocations: 30.65 MB / 357.1 MB, free: 4.918 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.3069, allocations: 1.503 MB / 358.6 MB, free: 3.41 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002394/0.3072, allocations: 11.94 kB / 358.6 MB, free: 3.398 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005778/0.3078, allocations: 143.3 kB / 358.8 MB, free: 3.258 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004338/0.3082, allocations: 203.5 kB / 359 MB, free: 3.059 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006286/0.3089, allocations: 227.5 kB / 359.2 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005411/0.3094, allocations: 459.1 kB / 359.6 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.3096, allocations: 68.67 kB / 359.7 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1357/0.4453, allocations: 72.09 MB / 431.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006424/0.446, allocations: 167.4 kB / 432 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.4462, allocations: 12 kB / 432 MB, free: 10.01 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000284/0.4465, allocations: 24 kB / 432 MB, free: 9.984 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.4466, allocations: 71.72 kB / 432.1 MB, free: 9.914 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002332/0.4469, allocations: 89.58 kB / 432.1 MB, free: 9.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005862/0.4475, allocations: 323.1 kB / 432.5 MB, free: 9.504 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4475, allocations: 4 kB / 432.5 MB, free: 9.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.4475, allocations: 0 / 432.5 MB, free: 9.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.4475, allocations: 4 kB / 432.5 MB, free: 9.496 MB / 366.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.001253/0.4488, allocations: 0.5261 MB / 433 MB, free: 8.922 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.4489, allocations: 8.031 kB / 433 MB, free: 8.914 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000434/0.4493, allocations: 39.72 kB / 433 MB, free: 8.875 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005336/0.4498, allocations: 282.4 kB / 433.3 MB, free: 8.559 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.4499, allocations: 16.56 kB / 433.3 MB, free: 8.543 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.674e-05/0.45, allocations: 24 kB / 433.4 MB, free: 8.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00056/0.4505, allocations: 299.7 kB / 433.7 MB, free: 8.199 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.4506, allocations: 4 kB / 433.7 MB, free: 8.195 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.914e-05/0.4506, allocations: 12 kB / 433.7 MB, free: 8.184 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.4506, allocations: 7.938 kB / 433.7 MB, free: 8.176 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003617/0.451, allocations: 197.6 kB / 433.9 MB, free: 7.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.4529, allocations: 1.44 MB / 435.3 MB, free: 6.426 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/0.4532, allocations: 167.2 kB / 435.5 MB, free: 6.254 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.844e-05/0.4533, allocations: 8.172 kB / 435.5 MB, free: 6.246 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.4533, allocations: 42.69 kB / 435.5 MB, free: 6.195 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.804e-06/0.4534, allocations: 4 kB / 435.5 MB, free: 6.191 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.002749/0.4561, allocations: 1.006 MB / 436.5 MB, free: 5.109 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.4562, allocations: 59.34 kB / 436.6 MB, free: 5.039 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.4565, allocations: 258.5 kB / 436.8 MB, free: 4.777 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.4565, allocations: 29.7 kB / 436.9 MB, free: 4.742 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.4567, allocations: 176.2 kB / 437 MB, free: 4.566 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.849e-05/0.4568, allocations: 94.66 kB / 437.1 MB, free: 4.473 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.665e-05/0.4568, allocations: 8 kB / 437.1 MB, free: 4.465 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.457, allocations: 338.8 kB / 437.5 MB, free: 4.125 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.4571, allocations: 87.75 kB / 437.6 MB, free: 4.039 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.4574, allocations: 166.9 kB / 437.7 MB, free: 3.836 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.4576, allocations: 119.9 kB / 437.8 MB, free: 3.719 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4576, allocations: 4 kB / 437.8 MB, free: 3.715 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007167/0.4583, allocations: 378.7 kB / 438.2 MB, free: 3.332 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/0.4584, allocations: 8.375 kB / 438.2 MB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/0.4584, allocations: 11.98 kB / 438.2 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002778/0.4587, allocations: 61.67 kB / 438.3 MB, free: 3.246 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.459, allocations: 67.91 kB / 438.4 MB, free: 3.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/0.4613, allocations: 2.689 MB / 441 MB, free: 232 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.4616, allocations: 19.98 kB / 441.1 MB, free: 212 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.4616, allocations: 12 kB / 441.1 MB, free: 200 kB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001893/0.4618, allocations: 161.7 kB / 441.2 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.401e-05/0.4619, allocations: 31.77 kB / 441.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.195e-05/0.462, allocations: 34.12 kB / 441.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.462, allocations: 4 kB / 441.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.462, allocations: 0 / 441.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006857/0.4627, allocations: 0.5669 MB / 441.9 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.4639, allocations: 0.7065 MB / 442.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.4639, allocations: 4 kB / 442.6 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.4641, allocations: 39.97 kB / 442.6 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002888/0.4644, allocations: 64.75 kB / 442.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.4645, allocations: 8 kB / 442.7 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.4657, allocations: 1.394 MB / 444.1 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4657, allocations: 4.031 kB / 444.1 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007277/0.4665, allocations: 494.3 kB / 444.6 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.4666, allocations: 112.7 kB / 444.7 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.48e-05/0.4666, allocations: 8 kB / 444.7 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.4669, allocations: 11.89 kB / 444.7 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.4669, allocations: 19.94 kB / 444.7 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.467, allocations: 15.98 kB / 444.7 MB, free: 12.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001969/0.4672, allocations: 182 kB / 444.9 MB, free: 12.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4672, allocations: 0 / 444.9 MB, free: 12.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004912/0.4677, allocations: 92 kB / 445 MB, free: 11.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001591/0.4678, allocations: 103.2 kB / 445.1 MB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007913/0.4686, allocations: 466.5 kB / 445.6 MB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4687, allocations: 0 / 445.6 MB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003904/0.4691, allocations: 238.5 kB / 445.8 MB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008751/0.4699, allocations: 152.4 kB / 445.9 MB, free: 10.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.4713, allocations: 0.8192 MB / 446.8 MB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.4717, allocations: 0.7723 MB / 447.5 MB, free: 9.297 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003087/0.472, allocations: 46.94 kB / 447.6 MB, free: 9.254 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.042e-05/0.4721, allocations: 27.44 kB / 447.6 MB, free: 9.227 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4721, allocations: 4 kB / 447.6 MB, free: 9.223 MB / 382.1 MB Notification: Performance of Templates: time 0.01086/0.4829, allocations: 5.262 MB / 452.9 MB, free: 3.961 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) Environment - environmentSimulation: