Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001172/0.001171, allocations: 109 kB / 16.92 MB, free: 6.184 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.001475/0.001475, allocations: 191.4 kB / 17.85 MB, free: 5.289 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.46/1.46, allocations: 205.1 MB / 223.7 MB, free: 12.33 MB / 190.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.001377/0.001377, allocations: 51.92 kB / 280 MB, free: 3.16 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1108, allocations: 46.63 MB / 326.6 MB, free: 4.457 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04631/0.1572, allocations: 39.24 MB / 365.9 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003076/0.1603, allocations: 2.027 MB / 367.9 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001847/0.1606, allocations: 4 kB / 367.9 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006516/0.1613, allocations: 182.9 kB / 368.1 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006713/0.162, allocations: 314.2 kB / 368.4 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007396/0.1627, allocations: 287.4 kB / 368.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001045/0.1638, allocations: 0.8407 MB / 369.5 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002127/0.164, allocations: 96.66 kB / 369.6 MB, free: 9.309 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.306/0.47, allocations: 44.1 MB / 413.7 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006296/0.4707, allocations: 271.2 kB / 414 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.992e-05/0.4708, allocations: 28 kB / 414 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.471, allocations: 43.17 kB / 414 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.514e-05/0.4711, allocations: 85.44 kB / 414.1 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.4713, allocations: 185.3 kB / 414.3 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004276/0.4717, allocations: 431.1 kB / 414.7 MB, free: 4.105 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.4717, allocations: 0 / 414.7 MB, free: 4.105 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4717, allocations: 4 kB / 414.7 MB, free: 4.102 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.116e-06/0.4718, allocations: 1.203 kB / 414.7 MB, free: 4.102 MB / 318.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.0008645/0.4726, allocations: 0.5868 MB / 415.3 MB, free: 3.551 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.4727, allocations: 8.031 kB / 415.3 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002727/0.473, allocations: 44.64 kB / 415.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.4733, allocations: 274.9 kB / 415.6 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.4733, allocations: 21.06 kB / 415.7 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.206e-05/0.4733, allocations: 23.69 kB / 415.7 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003778/0.4737, allocations: 310.8 kB / 416 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.4737, allocations: 4 kB / 416 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.4738, allocations: 12.16 kB / 416 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.4738, allocations: 4 kB / 416 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002671/0.4741, allocations: 203.4 kB / 416.2 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.4754, allocations: 1.438 MB / 417.6 MB, free: 1.234 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.4757, allocations: 177.7 kB / 417.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.4758, allocations: 85.83 kB / 417.9 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.4758, allocations: 11.98 kB / 417.9 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.4759, allocations: 34.56 kB / 418 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.342e-06/0.4759, allocations: 0 / 418 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.002243/0.4781, allocations: 0.9945 MB / 418.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.4782, allocations: 55.41 kB / 419 MB, free: 15.78 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002646/0.4784, allocations: 262.6 kB / 419.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.4785, allocations: 29.7 kB / 419.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.4786, allocations: 177.2 kB / 419.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.84e-05/0.4787, allocations: 97.31 kB / 419.6 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.4789, allocations: 72.67 kB / 419.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.479, allocations: 334.8 kB / 420 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.4792, allocations: 87.95 kB / 420 MB, free: 14.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.4794, allocations: 178.9 kB / 420.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003636/0.4798, allocations: 283.9 kB / 420.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4798, allocations: 0 / 420.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006267/0.4804, allocations: 387.5 kB / 420.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.4805, allocations: 12.03 kB / 420.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.4805, allocations: 2.078 kB / 420.9 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002504/0.4807, allocations: 61.67 kB / 420.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/0.481, allocations: 67.88 kB / 421 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/0.4834, allocations: 2.881 MB / 423.9 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.4837, allocations: 16.12 kB / 423.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.4837, allocations: 16 kB / 423.9 MB, free: 10.52 MB / 334.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.0001711/0.4839, allocations: 147 kB / 424.1 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/0.4839, allocations: 27.72 kB / 424.1 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.123e-05/0.484, allocations: 38.23 kB / 424.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.484, allocations: 4 kB / 424.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.484, allocations: 0 / 424.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006092/0.4847, allocations: 0.5661 MB / 424.7 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.4857, allocations: 0.7048 MB / 425.4 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.4857, allocations: 5.438 kB / 425.4 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.4859, allocations: 39.17 kB / 425.4 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002299/0.4861, allocations: 51.59 kB / 425.5 MB, free: 8.816 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.4862, allocations: 11.98 kB / 425.5 MB, free: 8.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/0.4876, allocations: 1.5 MB / 427 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4876, allocations: 3.984 kB / 427 MB, free: 7.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007295/0.4883, allocations: 474 kB / 427.5 MB, free: 6.699 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.173e-05/0.4884, allocations: 96.86 kB / 427.6 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.4885, allocations: 12.12 kB / 427.6 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/0.4887, allocations: 8 kB / 427.6 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.4887, allocations: 19.97 kB / 427.6 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.4887, allocations: 8 kB / 427.6 MB, free: 6.539 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001856/0.4889, allocations: 193.1 kB / 427.8 MB, free: 6.355 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4889, allocations: 0 / 427.8 MB, free: 6.355 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004063/0.4894, allocations: 88 kB / 427.9 MB, free: 6.27 MB / 334.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.0001505/0.4895, allocations: 104.7 kB / 428 MB, free: 6.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009389/0.4905, allocations: 491.4 kB / 428.5 MB, free: 5.676 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.4905, allocations: 4 kB / 428.5 MB, free: 5.672 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003943/0.4909, allocations: 237.7 kB / 428.7 MB, free: 5.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009651/0.4919, allocations: 160.5 kB / 428.9 MB, free: 5.289 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.4931, allocations: 0.6856 MB / 429.6 MB, free: 4.594 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.4935, allocations: 0.7704 MB / 430.3 MB, free: 3.801 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002727/0.4938, allocations: 46.94 kB / 430.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.989e-05/0.4938, allocations: 27.44 kB / 430.4 MB, free: 3.73 MB / 334.1 MB Notification: Performance of SimCode: time 2.234e-06/0.4938, allocations: 0 / 430.4 MB, free: 3.73 MB / 334.1 MB Notification: Performance of Templates: time 0.01026/0.5041, allocations: 5.681 MB / 436.1 MB, free: 14.08 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1)