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.001041/0.001041, allocations: 90.28 kB / 15.36 MB, free: 0.7383 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.00912/0.00912, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.52/1.52, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004689/0.000469, allocations: 12 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2712, allocations: 47.58 MB / 327 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04543/0.3166, allocations: 40.16 MB / 367.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002801/0.3195, allocations: 2.016 MB / 369.2 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.3197, allocations: 4 kB / 369.2 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005113/0.3202, allocations: 147.2 kB / 369.4 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006094/0.3209, allocations: 302.5 kB / 369.7 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006383/0.3215, allocations: 255.6 kB / 369.9 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001288/0.3228, allocations: 1.301 MB / 371.2 MB, free: 7.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.323, allocations: 80.61 kB / 371.3 MB, free: 6.988 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.08791/0.411, allocations: 42.96 MB / 414.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007022/0.4117, allocations: 278.9 kB / 414.5 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.785e-05/0.4118, allocations: 12 kB / 414.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.412, allocations: 23.98 kB / 414.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.4121, allocations: 79.72 kB / 414.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002375/0.4123, allocations: 185 kB / 414.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004995/0.4128, allocations: 418.5 kB / 415.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.4129, allocations: 4 kB / 415.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4129, allocations: 4 kB / 415.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.4129, allocations: 0 / 415.2 MB, free: 10.54 MB / 350.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.0009875/0.4139, allocations: 0.5224 MB / 415.7 MB, free: 9.973 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.4139, allocations: 12.03 kB / 415.8 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003009/0.4142, allocations: 44.64 kB / 415.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.4146, allocations: 279.7 kB / 416.1 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.4146, allocations: 20.94 kB / 416.1 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/0.4147, allocations: 24.38 kB / 416.1 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005079/0.4152, allocations: 303.7 kB / 416.4 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.4152, allocations: 3.938 kB / 416.4 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.88e-05/0.4153, allocations: 12 kB / 416.4 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.4153, allocations: 8 kB / 416.4 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003326/0.4156, allocations: 193.6 kB / 416.6 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/0.4173, allocations: 1.444 MB / 418.1 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.4177, allocations: 174.6 kB / 418.2 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.4178, allocations: 84.84 kB / 418.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.4179, allocations: 7.984 kB / 418.3 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.4179, allocations: 42.5 kB / 418.4 MB, free: 7.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.763e-06/0.4179, allocations: 0 / 418.4 MB, free: 7.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.0028/0.4207, allocations: 1.004 MB / 419.4 MB, free: 6.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.4208, allocations: 59.34 kB / 419.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.4211, allocations: 254.6 kB / 419.7 MB, free: 5.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.4211, allocations: 29.7 kB / 419.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.4212, allocations: 188 kB / 419.9 MB, free: 5.504 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.445e-05/0.4213, allocations: 98.64 kB / 420 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.141e-05/0.4214, allocations: 33.7 kB / 420 MB, free: 5.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.4215, allocations: 334.8 kB / 420.4 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.4217, allocations: 87.73 kB / 420.4 MB, free: 4.945 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.4219, allocations: 182.9 kB / 420.6 MB, free: 4.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/0.4223, allocations: 287 kB / 420.9 MB, free: 4.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.4223, allocations: 3.938 kB / 420.9 MB, free: 4.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007102/0.423, allocations: 382.7 kB / 421.3 MB, free: 4.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.4231, allocations: 8 kB / 421.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4231, allocations: 0 / 421.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002895/0.4234, allocations: 70.05 kB / 421.4 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.4237, allocations: 67.91 kB / 421.4 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002392/0.4261, allocations: 2.673 MB / 424.1 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.4264, allocations: 16 kB / 424.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.4264, allocations: 16 kB / 424.1 MB, free: 0.8945 MB / 350.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.000192/0.4266, allocations: 153.8 kB / 424.3 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.788e-05/0.4267, allocations: 39.5 kB / 424.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.748e-05/0.4268, allocations: 34.17 kB / 424.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.4268, allocations: 4 kB / 424.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4268, allocations: 0 / 424.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000701/0.4275, allocations: 0.5632 MB / 424.9 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.4286, allocations: 0.7105 MB / 425.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.4286, allocations: 0 / 425.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.4288, allocations: 39.98 kB / 425.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002674/0.4291, allocations: 60.75 kB / 425.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-05/0.4292, allocations: 8 kB / 425.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001229/0.4304, allocations: 1.393 MB / 427.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4304, allocations: 0 / 427.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006926/0.4311, allocations: 473.1 kB / 427.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.26e-05/0.4312, allocations: 108.9 kB / 427.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/0.4312, allocations: 8 kB / 427.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.4315, allocations: 15.92 kB / 427.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.4315, allocations: 19.92 kB / 427.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.4316, allocations: 15.92 kB / 427.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001823/0.4317, allocations: 182 kB / 427.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4317, allocations: 0 / 427.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00042/0.4322, allocations: 96 kB / 428 MB, free: 12.66 MB / 366.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.000181/0.4324, allocations: 103.2 kB / 428.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007899/0.4332, allocations: 474 kB / 428.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.4332, allocations: 4 kB / 428.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003842/0.4336, allocations: 234.4 kB / 428.8 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.4346, allocations: 160.4 kB / 429 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.4359, allocations: 0.8496 MB / 429.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.4362, allocations: 0.7606 MB / 430.6 MB, free: 9.996 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002704/0.4365, allocations: 54.92 kB / 430.6 MB, free: 9.945 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.697e-05/0.4366, allocations: 31.38 kB / 430.7 MB, free: 9.918 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4366, allocations: 0 / 430.7 MB, free: 9.918 MB / 366.1 MB Notification: Performance of Templates: time 0.01016/0.4467, allocations: 5.441 MB / 436.1 MB, free: 4.477 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile (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)