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.001126/0.001126, allocations: 109.3 kB / 16.62 MB, free: 6.961 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.001243/0.001242, allocations: 190 kB / 17.54 MB, free: 6.066 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.358/1.358, allocations: 205.1 MB / 223.4 MB, free: 12.46 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.001257/0.001257, allocations: 39.94 kB / 279.5 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09897/0.1002, allocations: 46.63 MB / 326.1 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04275/0.143, allocations: 39.35 MB / 365.5 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003413/0.1465, allocations: 2.02 MB / 367.5 MB, free: 11.28 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003012/0.1469, allocations: 4 kB / 367.5 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007814/0.1477, allocations: 151.2 kB / 367.7 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006995/0.1484, allocations: 294.5 kB / 367.9 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007342/0.1491, allocations: 267.6 kB / 368.2 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009177/0.1501, allocations: 0.8368 MB / 369 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.1503, allocations: 104.7 kB / 369.1 MB, free: 9.629 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.33/0.4803, allocations: 43.54 MB / 412.7 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007655/0.4811, allocations: 283.7 kB / 413 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.4812, allocations: 31.12 kB / 413 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.4814, allocations: 39.62 kB / 413 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.4816, allocations: 88.16 kB / 413.1 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003078/0.4819, allocations: 180.4 kB / 413.3 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007148/0.4826, allocations: 442 kB / 413.7 MB, free: 4.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.4826, allocations: 0 / 413.7 MB, free: 4.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.4827, allocations: 3 kB / 413.7 MB, free: 4.824 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.4827, allocations: 0 / 413.7 MB, free: 4.824 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.00101/0.4837, allocations: 0.5859 MB / 414.3 MB, free: 4.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.4837, allocations: 8.031 kB / 414.3 MB, free: 4.262 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002912/0.484, allocations: 40.64 kB / 414.4 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.4844, allocations: 280.2 kB / 414.6 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.4844, allocations: 22.44 kB / 414.7 MB, free: 3.934 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/0.4844, allocations: 23.94 kB / 414.7 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000448/0.4849, allocations: 307.6 kB / 415 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.4849, allocations: 0 / 415 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.411e-05/0.485, allocations: 15.56 kB / 415 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.485, allocations: 4 kB / 415 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002804/0.4853, allocations: 194.1 kB / 415.2 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.4867, allocations: 1.439 MB / 416.6 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.487, allocations: 175.5 kB / 416.8 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.4872, allocations: 88.83 kB / 416.9 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.4872, allocations: 7.656 kB / 416.9 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.4872, allocations: 36.88 kB / 416.9 MB, free: 1.949 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.563e-06/0.4872, allocations: 0 / 416.9 MB, free: 1.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.002347/0.4896, allocations: 1 MB / 417.9 MB, free: 1.074 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.4896, allocations: 55.41 kB / 418 MB, free: 1.008 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.4899, allocations: 257.8 kB / 418.2 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.4899, allocations: 29.27 kB / 418.3 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.878e-05/0.49, allocations: 180.2 kB / 418.4 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.599e-05/0.4901, allocations: 90.41 kB / 418.5 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.471e-05/0.4902, allocations: 73.64 kB / 418.6 MB, free: 476 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.587e-05/0.4902, allocations: 338.8 kB / 418.9 MB, free: 128 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.4904, allocations: 83.97 kB / 419 MB, free: 44 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.4906, allocations: 181.3 kB / 419.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/0.491, allocations: 287.5 kB / 419.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.491, allocations: 4 kB / 419.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006534/0.4917, allocations: 382.4 kB / 419.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.4917, allocations: 8 kB / 419.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.4917, allocations: 4 kB / 419.9 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002877/0.492, allocations: 62.86 kB / 419.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.4923, allocations: 69.97 kB / 420 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00282/0.4952, allocations: 2.884 MB / 422.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002874/0.4955, allocations: 31.92 kB / 422.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.4955, allocations: 12 kB / 422.9 MB, free: 11.84 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.0001961/0.4957, allocations: 149 kB / 423.1 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.649e-05/0.4958, allocations: 32.72 kB / 423.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.421e-05/0.4959, allocations: 34.19 kB / 423.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.4959, allocations: 4 kB / 423.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.4959, allocations: 3.984 kB / 423.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006856/0.4966, allocations: 0.5666 MB / 423.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.4977, allocations: 0.6969 MB / 424.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.4977, allocations: 8.031 kB / 424.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.4979, allocations: 39.97 kB / 424.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000252/0.4982, allocations: 50 kB / 424.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/0.4982, allocations: 11.94 kB / 424.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.4995, allocations: 1.499 MB / 426 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4995, allocations: 0 / 426 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007293/0.5002, allocations: 473.5 kB / 426.5 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.071e-05/0.5003, allocations: 100.8 kB / 426.6 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.176e-05/0.5004, allocations: 4.125 kB / 426.6 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.5006, allocations: 19.91 kB / 426.6 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.5007, allocations: 23.34 kB / 426.6 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.5007, allocations: 7.984 kB / 426.6 MB, free: 7.848 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002074/0.5009, allocations: 189.9 kB / 426.8 MB, free: 7.664 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5009, allocations: 1.094 kB / 426.8 MB, free: 7.664 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004544/0.5014, allocations: 88 kB / 426.9 MB, free: 7.578 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.0002024/0.5016, allocations: 110.7 kB / 427 MB, free: 7.465 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000916/0.5025, allocations: 488.3 kB / 427.5 MB, free: 6.973 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.5025, allocations: 7 kB / 427.5 MB, free: 6.969 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003707/0.5029, allocations: 229.7 kB / 427.7 MB, free: 6.734 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.5039, allocations: 173.6 kB / 427.9 MB, free: 6.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.5052, allocations: 0.7806 MB / 428.7 MB, free: 5.801 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.5056, allocations: 0.7705 MB / 429.4 MB, free: 5.008 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003255/0.5059, allocations: 46.94 kB / 429.5 MB, free: 4.965 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.292e-05/0.506, allocations: 27.44 kB / 429.5 MB, free: 4.938 MB / 334.1 MB Notification: Performance of SimCode: time 2.154e-06/0.506, allocations: 0 / 429.5 MB, free: 4.938 MB / 334.1 MB Notification: Performance of Templates: time 0.01108/0.5171, allocations: 5.658 MB / 435.2 MB, free: 15.31 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)