Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.0008095/0.0008095, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005009/0.005009, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.521/1.521, allocations: 205.4 MB / 222.5 MB, free: 5.793 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.0004686/0.0004687, allocations: 16 kB / 279.5 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2853, allocations: 47.58 MB / 327 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04741/0.3328, allocations: 40.16 MB / 367.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003076/0.3359, allocations: 2.008 MB / 369.2 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003423/0.3363, allocations: 7.938 kB / 369.2 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000648/0.3369, allocations: 147.2 kB / 369.4 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008131/0.3377, allocations: 306.5 kB / 369.7 MB, free: 8.664 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000714/0.3385, allocations: 259.6 kB / 369.9 MB, free: 8.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001317/0.3398, allocations: 1.301 MB / 371.2 MB, free: 7.105 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.34, allocations: 72.62 kB / 371.3 MB, free: 7.031 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09429/0.4343, allocations: 42.96 MB / 414.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000604/0.4349, allocations: 278.8 kB / 414.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.958e-05/0.435, allocations: 16 kB / 414.5 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.4352, allocations: 23.98 kB / 414.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.959e-05/0.4353, allocations: 79.67 kB / 414.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002274/0.4355, allocations: 193 kB / 414.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004245/0.4359, allocations: 414.5 kB / 415.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4359, allocations: 0 / 415.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.436, allocations: 0 / 415.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.436, allocations: 0 / 415.2 MB, free: 10.58 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.0008144/0.4368, allocations: 0.5302 MB / 415.8 MB, free: 10 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.4368, allocations: 8.031 kB / 415.8 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002885/0.4371, allocations: 40.64 kB / 415.8 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003292/0.4375, allocations: 279.7 kB / 416.1 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.4375, allocations: 16.94 kB / 416.1 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.742e-05/0.4376, allocations: 24.38 kB / 416.1 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.438, allocations: 315.6 kB / 416.4 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.438, allocations: 0 / 416.4 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.4381, allocations: 12 kB / 416.4 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.4381, allocations: 4 kB / 416.4 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003072/0.4384, allocations: 193.6 kB / 416.6 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001716/0.4401, allocations: 1.44 MB / 418.1 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004567/0.4406, allocations: 182.6 kB / 418.3 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.4408, allocations: 92.77 kB / 418.3 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.4409, allocations: 4 kB / 418.3 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.086e-05/0.4409, allocations: 30.56 kB / 418.4 MB, free: 7.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.853e-06/0.4409, allocations: 0 / 418.4 MB, free: 7.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.003425/0.4444, allocations: 1.008 MB / 419.4 MB, free: 6.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.4444, allocations: 51.41 kB / 419.4 MB, free: 6.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004273/0.4449, allocations: 258.6 kB / 419.7 MB, free: 5.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.194e-05/0.4449, allocations: 33.7 kB / 419.7 MB, free: 5.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.4451, allocations: 184.1 kB / 419.9 MB, free: 5.547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.192e-05/0.4452, allocations: 90.66 kB / 420 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.57e-05/0.4453, allocations: 33.7 kB / 420 MB, free: 5.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4454, allocations: 342.8 kB / 420.4 MB, free: 5.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.4457, allocations: 91.69 kB / 420.4 MB, free: 4.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.446, allocations: 178.9 kB / 420.6 MB, free: 4.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005419/0.4465, allocations: 291 kB / 420.9 MB, free: 4.445 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.4465, allocations: 3.938 kB / 420.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009194/0.4475, allocations: 382.9 kB / 421.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.4475, allocations: 4 kB / 421.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.4475, allocations: 4 kB / 421.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003472/0.4479, allocations: 61.67 kB / 421.3 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004033/0.4483, allocations: 67.91 kB / 421.4 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002841/0.4511, allocations: 2.681 MB / 424.1 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004011/0.4516, allocations: 16.06 kB / 424.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/0.4516, allocations: 16 kB / 424.1 MB, free: 0.9336 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.0002572/0.4519, allocations: 157.6 kB / 424.3 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.028e-05/0.452, allocations: 31.56 kB / 424.3 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.4521, allocations: 42.17 kB / 424.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.4521, allocations: 4 kB / 424.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4521, allocations: 0 / 424.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009074/0.4531, allocations: 0.5593 MB / 424.9 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.4546, allocations: 0.7066 MB / 425.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.4546, allocations: 4 kB / 425.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.4549, allocations: 39.92 kB / 425.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003905/0.4553, allocations: 60.81 kB / 425.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.4553, allocations: 8 kB / 425.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.4569, allocations: 1.397 MB / 427.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.4569, allocations: 0 / 427.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.4579, allocations: 477.2 kB / 427.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/0.4581, allocations: 96.77 kB / 427.7 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.911e-05/0.4582, allocations: 11.94 kB / 427.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.4585, allocations: 19.92 kB / 427.7 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.4585, allocations: 20.05 kB / 427.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.4585, allocations: 11.92 kB / 427.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002067/0.4588, allocations: 190 kB / 427.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4588, allocations: 0 / 427.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004515/0.4592, allocations: 88 kB / 428 MB, free: 12.7 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.000149/0.4594, allocations: 99.25 kB / 428.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007894/0.4602, allocations: 473.5 kB / 428.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4602, allocations: 0 / 428.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003486/0.4605, allocations: 242.4 kB / 428.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.4618, allocations: 153 kB / 429 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.4636, allocations: 0.8573 MB / 429.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.4641, allocations: 0.7567 MB / 430.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004774/0.4646, allocations: 58.92 kB / 430.6 MB, free: 9.984 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.878e-05/0.4647, allocations: 27.38 kB / 430.7 MB, free: 9.957 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4647, allocations: 0 / 430.7 MB, free: 9.957 MB / 366.1 MB Notification: Performance of Templates: time 0.01528/0.48, allocations: 5.448 MB / 436.1 MB, free: 4.508 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1)