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.001248/0.001248, allocations: 104.7 kB / 17.06 MB, free: 6.027 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.001265/0.001265, allocations: 196 kB / 18 MB, free: 5.105 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.418/1.418, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.00119/0.00119, allocations: 55.92 kB / 327.9 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1086, allocations: 46.61 MB / 374.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2913/0.3999, allocations: 39.25 MB / 413.8 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003341/0.4033, allocations: 2.039 MB / 415.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.4036, allocations: 3.719 kB / 415.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006297/0.4042, allocations: 177 kB / 416 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006275/0.4049, allocations: 313.9 kB / 416.3 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006846/0.4055, allocations: 277.8 kB / 416.6 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.4066, allocations: 0.8362 MB / 417.4 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002424/0.4068, allocations: 111.1 kB / 417.5 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09872/0.5056, allocations: 44.11 MB / 461.6 MB, free: 8.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008114/0.5064, allocations: 266.9 kB / 461.9 MB, free: 7.801 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.5065, allocations: 28 kB / 461.9 MB, free: 7.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003105/0.5069, allocations: 47.92 kB / 462 MB, free: 7.727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.507, allocations: 95.72 kB / 462 MB, free: 7.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002632/0.5073, allocations: 179.2 kB / 462.2 MB, free: 7.457 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006491/0.5079, allocations: 434.6 kB / 462.6 MB, free: 7.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.5079, allocations: 0 / 462.6 MB, free: 7.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.508, allocations: 0 / 462.6 MB, free: 7.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.508, allocations: 0 / 462.6 MB, free: 7.031 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.001004/0.509, allocations: 0.5854 MB / 463.2 MB, free: 6.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.509, allocations: 12.03 kB / 463.2 MB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003013/0.5093, allocations: 40.64 kB / 463.3 MB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005209/0.5099, allocations: 291.7 kB / 463.6 MB, free: 6.023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.617e-05/0.5099, allocations: 16.94 kB / 463.6 MB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.465e-05/0.51, allocations: 24.38 kB / 463.6 MB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005469/0.5105, allocations: 311.6 kB / 463.9 MB, free: 5.648 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.5106, allocations: 0 / 463.9 MB, free: 5.648 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/0.5106, allocations: 12 kB / 463.9 MB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.5106, allocations: 8 kB / 463.9 MB, free: 5.629 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003204/0.5109, allocations: 193.6 kB / 464.1 MB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001957/0.5129, allocations: 1.436 MB / 465.6 MB, free: 3.895 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004327/0.5134, allocations: 178.3 kB / 465.7 MB, free: 3.715 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.5135, allocations: 96.8 kB / 465.8 MB, free: 3.617 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.5135, allocations: 4 kB / 465.8 MB, free: 3.613 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.5136, allocations: 34.56 kB / 465.9 MB, free: 3.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.563e-06/0.5136, allocations: 4 kB / 465.9 MB, free: 3.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.002555/0.5161, allocations: 1.007 MB / 466.9 MB, free: 2.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.5162, allocations: 55.41 kB / 466.9 MB, free: 2.414 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.5165, allocations: 258.6 kB / 467.2 MB, free: 2.152 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.5165, allocations: 29.7 kB / 467.2 MB, free: 2.117 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.5166, allocations: 176.2 kB / 467.4 MB, free: 1.941 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.974e-05/0.5168, allocations: 98.64 kB / 467.5 MB, free: 1.844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-05/0.5169, allocations: 61.61 kB / 467.5 MB, free: 1.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.5171, allocations: 338.8 kB / 467.9 MB, free: 1.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.5172, allocations: 87.97 kB / 468 MB, free: 1.352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.5174, allocations: 178.9 kB / 468.1 MB, free: 1.137 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.5178, allocations: 283 kB / 468.4 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.5178, allocations: 3.938 kB / 468.4 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006584/0.5185, allocations: 386.7 kB / 468.8 MB, free: 436 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.5185, allocations: 11.98 kB / 468.8 MB, free: 424 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.5185, allocations: 0 / 468.8 MB, free: 424 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002529/0.5188, allocations: 57.67 kB / 468.9 MB, free: 360 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/0.5191, allocations: 68.23 kB / 468.9 MB, free: 292 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002635/0.5218, allocations: 2.89 MB / 471.8 MB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.522, allocations: 11.94 kB / 471.8 MB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.522, allocations: 19.31 kB / 471.8 MB, free: 13.09 MB / 398.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.000223/0.5223, allocations: 155 kB / 472 MB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-05/0.5223, allocations: 23.72 kB / 472 MB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.606e-05/0.5224, allocations: 38.25 kB / 472.1 MB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.5224, allocations: 0 / 472.1 MB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.5224, allocations: 3.984 kB / 472.1 MB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006422/0.5231, allocations: 0.559 MB / 472.6 MB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.5241, allocations: 0.6955 MB / 473.3 MB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.5241, allocations: 11.97 kB / 473.3 MB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.5243, allocations: 43.91 kB / 473.4 MB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002337/0.5246, allocations: 48.8 kB / 473.4 MB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.5246, allocations: 8 kB / 473.4 MB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/0.526, allocations: 1.492 MB / 474.9 MB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.526, allocations: 0 / 474.9 MB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007616/0.5268, allocations: 480.8 kB / 475.4 MB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.362e-05/0.5269, allocations: 100.8 kB / 475.5 MB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.5269, allocations: 4 kB / 475.5 MB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.5271, allocations: 8 kB / 475.5 MB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.5272, allocations: 20.03 kB / 475.5 MB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.5272, allocations: 16.81 kB / 475.5 MB, free: 9.051 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001768/0.5274, allocations: 186 kB / 475.7 MB, free: 8.867 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5274, allocations: 0 / 475.7 MB, free: 8.867 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004078/0.5278, allocations: 88 kB / 475.8 MB, free: 8.781 MB / 398.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.0001417/0.528, allocations: 103.2 kB / 475.9 MB, free: 8.672 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007827/0.5288, allocations: 473.6 kB / 476.4 MB, free: 8.184 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5288, allocations: 0 / 476.4 MB, free: 8.184 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000383/0.5292, allocations: 238.8 kB / 476.6 MB, free: 7.938 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009439/0.5301, allocations: 158.2 kB / 476.8 MB, free: 7.785 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.5314, allocations: 0.6938 MB / 477.4 MB, free: 7.066 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.5318, allocations: 0.7606 MB / 478.2 MB, free: 6.281 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002354/0.532, allocations: 54.92 kB / 478.3 MB, free: 6.227 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.87e-05/0.5321, allocations: 27.44 kB / 478.3 MB, free: 6.199 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5321, allocations: 0 / 478.3 MB, free: 6.199 MB / 398.1 MB Notification: Performance of Templates: time 0.01049/0.5426, allocations: 5.833 MB / 484.1 MB, free: 372 kB / 398.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)