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.001128/0.001127, allocations: 110.9 kB / 16.51 MB, free: 6.715 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.001116/0.001116, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.385/1.385, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001183/0.001183, allocations: 48.36 kB / 279.3 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1113, allocations: 46.63 MB / 326 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05221/0.1635, allocations: 41.06 MB / 367 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002928/0.1665, allocations: 2.039 MB / 369.1 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.1668, allocations: 7.938 kB / 369.1 MB, free: 9.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006328/0.1675, allocations: 147.3 kB / 369.2 MB, free: 9.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005974/0.1681, allocations: 302.4 kB / 369.5 MB, free: 9.188 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007009/0.1688, allocations: 259.6 kB / 369.8 MB, free: 8.934 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001138/0.1699, allocations: 1.301 MB / 371.1 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.1701, allocations: 76.53 kB / 371.1 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2937/0.4638, allocations: 42.97 MB / 414.1 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008464/0.4647, allocations: 285.9 kB / 414.4 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.487e-05/0.4648, allocations: 16 kB / 414.4 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.465, allocations: 23.5 kB / 414.4 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.4651, allocations: 82.03 kB / 414.5 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002215/0.4653, allocations: 168.3 kB / 414.7 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004172/0.4658, allocations: 426.4 kB / 415.1 MB, free: 2.785 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4658, allocations: 0 / 415.1 MB, free: 2.785 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.437e-06/0.4658, allocations: 0 / 415.1 MB, free: 2.785 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.4658, allocations: 1.531 kB / 415.1 MB, free: 2.785 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.000961/0.4668, allocations: 0.5795 MB / 415.7 MB, free: 2.238 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.4668, allocations: 15.5 kB / 415.7 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002885/0.4671, allocations: 40.64 kB / 415.7 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.4674, allocations: 275.2 kB / 416 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.4675, allocations: 20.31 kB / 416 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.825e-05/0.4675, allocations: 23.88 kB / 416 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004219/0.4679, allocations: 306 kB / 416.3 MB, free: 1.641 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.468, allocations: 3.375 kB / 416.3 MB, free: 1.641 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.468, allocations: 11.75 kB / 416.4 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.468, allocations: 8 kB / 416.4 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002906/0.4683, allocations: 194.8 kB / 416.6 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.4696, allocations: 1.436 MB / 418 MB, free: 152 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.4699, allocations: 186.6 kB / 418.2 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.4701, allocations: 89.02 kB / 418.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.4701, allocations: 0 / 418.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.4702, allocations: 34.56 kB / 418.3 MB, free: 15.92 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.002e-06/0.4702, allocations: 0 / 418.3 MB, free: 15.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002629/0.4728, allocations: 1.005 MB / 419.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.4729, allocations: 52.94 kB / 419.3 MB, free: 14.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.4732, allocations: 252.5 kB / 419.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.4732, allocations: 33.45 kB / 419.6 MB, free: 14.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.4734, allocations: 181.5 kB / 419.8 MB, free: 14.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.142e-05/0.4734, allocations: 95.53 kB / 419.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.4736, allocations: 65.83 kB / 420 MB, free: 14.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4737, allocations: 340.4 kB / 420.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.4738, allocations: 83.16 kB / 420.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.4741, allocations: 183.4 kB / 420.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003898/0.4745, allocations: 289.9 kB / 420.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4745, allocations: 4 kB / 420.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006871/0.4752, allocations: 381.4 kB / 421.2 MB, free: 13.4 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.4752, allocations: 4.375 kB / 421.2 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.4752, allocations: 8.859 kB / 421.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003062/0.4755, allocations: 62.94 kB / 421.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/0.4759, allocations: 69.81 kB / 421.4 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/0.4785, allocations: 2.678 MB / 424 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.4788, allocations: 19.98 kB / 424.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.4788, allocations: 12 kB / 424.1 MB, free: 10.38 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.0002004/0.479, allocations: 155.1 kB / 424.2 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.31e-05/0.4791, allocations: 35.66 kB / 424.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.717e-05/0.4792, allocations: 34.17 kB / 424.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/0.4792, allocations: 4 kB / 424.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.4792, allocations: 0 / 424.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006988/0.48, allocations: 0.5689 MB / 424.9 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.4811, allocations: 0.7029 MB / 425.6 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.4811, allocations: 4 kB / 425.6 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.4814, allocations: 46 kB / 425.6 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002604/0.4816, allocations: 56.72 kB / 425.7 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.4817, allocations: 8 kB / 425.7 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001375/0.483, allocations: 1.38 MB / 427.1 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4831, allocations: 0 / 427.1 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007168/0.4838, allocations: 477.8 kB / 427.5 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.109e-05/0.4839, allocations: 104.7 kB / 427.6 MB, free: 6.539 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.277e-05/0.4839, allocations: 8.125 kB / 427.6 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.4842, allocations: 15.94 kB / 427.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.4842, allocations: 22.88 kB / 427.7 MB, free: 6.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.4843, allocations: 11.98 kB / 427.7 MB, free: 6.484 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001705/0.4844, allocations: 182 kB / 427.9 MB, free: 6.309 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4845, allocations: 0 / 427.9 MB, free: 6.309 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004298/0.4849, allocations: 88 kB / 427.9 MB, free: 6.223 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.0001741/0.4851, allocations: 110.3 kB / 428 MB, free: 6.109 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008099/0.4859, allocations: 480.7 kB / 428.5 MB, free: 5.629 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.4859, allocations: 4 kB / 428.5 MB, free: 5.625 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003785/0.4863, allocations: 240.4 kB / 428.8 MB, free: 5.383 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.4874, allocations: 159 kB / 428.9 MB, free: 5.238 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.4889, allocations: 0.7825 MB / 429.7 MB, free: 4.457 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005138/0.4894, allocations: 0.7606 MB / 430.5 MB, free: 3.672 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003041/0.4897, allocations: 56.28 kB / 430.5 MB, free: 3.629 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.965e-05/0.4898, allocations: 27.44 kB / 430.5 MB, free: 3.602 MB / 334.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4898, allocations: 0 / 430.5 MB, free: 3.602 MB / 334.1 MB Notification: Performance of Templates: time 0.01055/0.5004, allocations: 5.427 MB / 436 MB, free: 14.23 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)