Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.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.001345/0.001345, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001504/0.001504, allocations: 190.4 kB / 16.13 MB, free: 6.656 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.725/1.725, allocations: 205.1 MB / 222 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.358/0.358, allocations: 39.94 MB / 309.3 MB, free: 9.645 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 74.41 kB / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1264, allocations: 56.87 MB / 433.8 MB, free: 4.426 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2392/0.3656, allocations: 46.37 MB / 480.2 MB, free: 27.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005635/0.3713, allocations: 4.539 MB / 484.7 MB, free: 24.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007919/0.3722, allocations: 24.91 kB / 484.7 MB, free: 24.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009582/0.3732, allocations: 268.5 kB / 485 MB, free: 24.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.3749, allocations: 0.8016 MB / 485.8 MB, free: 23.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00205/0.3769, allocations: 0.8087 MB / 486.6 MB, free: 23.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002207/0.3791, allocations: 2.662 MB / 489.3 MB, free: 22.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006176/0.3798, allocations: 396.5 kB / 489.7 MB, free: 22.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09948/0.4793, allocations: 43.32 MB / 0.5205 GB, free: 15.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01982/0.4991, allocations: 7.981 MB / 0.5283 GB, free: 8.395 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002645/0.4995, allocations: 32 kB / 0.5283 GB, free: 8.363 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02416/0.5236, allocations: 10.62 MB / 0.5387 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005875/0.5243, allocations: 243.2 kB / 0.5389 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006425/0.5249, allocations: 362.2 kB / 0.5393 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.5264, allocations: 1.051 MB / 0.5403 GB, free: 11.96 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.5264, allocations: 0 / 0.5403 GB, free: 11.96 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.5264, allocations: 0 / 0.5403 GB, free: 11.96 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.5264, allocations: 0 / 0.5403 GB, free: 11.96 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002156/0.5286, allocations: 1.055 MB / 0.5413 GB, free: 10.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.5286, allocations: 11.97 kB / 0.5413 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003488/0.529, allocations: 91.98 kB / 0.5414 GB, free: 10.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006874/0.5297, allocations: 0.4977 MB / 0.5419 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.5298, allocations: 105 kB / 0.542 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-05/0.5299, allocations: 48.28 kB / 0.5421 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.5311, allocations: 0.8328 MB / 0.5429 GB, free: 9.156 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.5311, allocations: 3.938 kB / 0.5429 GB, free: 9.152 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.551e-05/0.5312, allocations: 24 kB / 0.5429 GB, free: 9.129 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.134e-05/0.5313, allocations: 36.98 kB / 0.5429 GB, free: 9.094 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.5323, allocations: 0.6516 MB / 0.5436 GB, free: 8.441 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004332/0.5366, allocations: 4.202 MB / 0.5477 GB, free: 3.949 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008242/0.5375, allocations: 430.6 kB / 0.5481 GB, free: 3.527 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.5378, allocations: 209.4 kB / 0.5483 GB, free: 3.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000438/0.5382, allocations: 0.499 MB / 0.5488 GB, free: 2.711 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.5383, allocations: 38.89 kB / 0.5488 GB, free: 2.664 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.104e-06/0.5383, allocations: 3.938 kB / 0.5488 GB, free: 2.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.00302/0.5413, allocations: 1.53 MB / 0.5503 GB, free: 1.074 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/0.5414, allocations: 132.5 kB / 0.5504 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000619/0.542, allocations: 0.5655 MB / 0.551 GB, free: 348 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/0.5421, allocations: 37.7 kB / 0.551 GB, free: 304 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.5423, allocations: 354.9 kB / 0.5514 GB, free: 15.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.5425, allocations: 161.7 kB / 0.5515 GB, free: 15.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/0.5427, allocations: 150.4 kB / 0.5517 GB, free: 15.63 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.5428, allocations: 374.7 kB / 0.552 GB, free: 15.26 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003918/0.5432, allocations: 225.9 kB / 0.5522 GB, free: 15.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005891/0.5438, allocations: 0.5165 MB / 0.5527 GB, free: 14.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.5449, allocations: 0.7794 MB / 0.5535 GB, free: 13.47 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.5449, allocations: 4 kB / 0.5535 GB, free: 13.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001773/0.5467, allocations: 0.9375 MB / 0.5544 GB, free: 12.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.5467, allocations: 12 kB / 0.5544 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/0.5468, allocations: 8 kB / 0.5544 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.5479, allocations: 268.7 kB / 0.5547 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/0.5483, allocations: 119.8 kB / 0.5548 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009115/0.5492, allocations: 0.8711 MB / 0.5556 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005042/0.5498, allocations: 39.92 kB / 0.5557 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.057e-05/0.5498, allocations: 43.98 kB / 0.5557 GB, free: 11.14 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003128/0.5501, allocations: 245.6 kB / 0.556 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.5503, allocations: 67.16 kB / 0.556 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.5516, allocations: 0.7199 MB / 0.5567 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.5516, allocations: 4 kB / 0.5567 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.5516, allocations: 0 / 0.5567 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.5516, allocations: 3.984 kB / 0.5567 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/0.5537, allocations: 1.403 MB / 0.5581 GB, free: 8.605 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.5537, allocations: 3.938 kB / 0.5581 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009665/0.5547, allocations: 192 kB / 0.5583 GB, free: 8.414 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002684/0.5549, allocations: 56.78 kB / 0.5583 GB, free: 8.355 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/0.555, allocations: 16 kB / 0.5584 GB, free: 8.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002622/0.5576, allocations: 2.781 MB / 0.5611 GB, free: 5.289 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.5576, allocations: 3.938 kB / 0.5611 GB, free: 5.285 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.5595, allocations: 0.9919 MB / 0.5621 GB, free: 4.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003482/0.5599, allocations: 204.2 kB / 0.5622 GB, free: 4.031 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.313e-05/0.56, allocations: 23.94 kB / 0.5623 GB, free: 4.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003991/0.5604, allocations: 31.92 kB / 0.5623 GB, free: 3.977 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.941e-05/0.5605, allocations: 44.02 kB / 0.5623 GB, free: 3.934 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.267e-05/0.5606, allocations: 16 kB / 0.5624 GB, free: 3.918 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005226/0.5611, allocations: 423 kB / 0.5628 GB, free: 3.508 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5611, allocations: 0 / 0.5628 GB, free: 3.508 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000803/0.5619, allocations: 212 kB / 0.563 GB, free: 3.301 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0005257/0.5624, allocations: 226.8 kB / 0.5632 GB, free: 3.074 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001266/0.5637, allocations: 0.6083 MB / 0.5638 GB, free: 2.473 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.5637, allocations: 7.984 kB / 0.5638 GB, free: 2.465 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.5649, allocations: 486.6 kB / 0.5642 GB, free: 1.977 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/0.5666, allocations: 344.9 kB / 0.5646 GB, free: 1.641 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.5691, allocations: 1.637 MB / 0.5662 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000594/0.5697, allocations: 0.9346 MB / 0.5671 GB, free: 15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007495/0.5705, allocations: 208.4 kB / 0.5673 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.5706, allocations: 63.42 kB / 0.5673 GB, free: 14.74 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5707, allocations: 0 / 0.5673 GB, free: 14.74 MB / 446.1 MB Notification: Performance of Templates: time 0.02326/0.5939, allocations: 14.52 MB / 0.5815 GB, free: 264 kB / 446.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1)