Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007025/0.007025, allocations: 105.4 kB / 15.74 MB, free: 6.004 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.00131/0.001311, allocations: 196.5 kB / 16.68 MB, free: 5.93 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.513/1.513, allocations: 205.1 MB / 222.6 MB, free: 4.492 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.3572/0.3572, allocations: 39.94 MB / 309.8 MB, free: 9.363 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.001506/0.001506, allocations: 71.91 kB / 435.8 MB, free: 2.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3733, allocations: 56.87 MB / 492.7 MB, free: 19.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.02933/0.4026, allocations: 30.09 MB / 0.5105 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007559/0.4102, allocations: 4.588 MB / 0.515 GB, free: 9.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008192/0.4111, allocations: 20.47 kB / 0.515 GB, free: 9.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009466/0.4121, allocations: 291.1 kB / 0.5153 GB, free: 9.418 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1250:3-1403:19:writable] Warning: Pure function 'Modelica.Math.Matrices.leastSquares' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgelsy_vec'. Notification: Performance of NFTyping.typeBindings: time 0.005529/0.4176, allocations: 1.823 MB / 0.5171 GB, free: 8.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004173/0.4218, allocations: 1.55 MB / 0.5186 GB, free: 7.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003114/0.4249, allocations: 1.837 MB / 0.5204 GB, free: 6.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007651/0.4257, allocations: 479.1 kB / 0.5208 GB, free: 5.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006667/0.4324, allocations: 3.5 MB / 0.5243 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002641/0.4351, allocations: 1.382 MB / 0.5256 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000178/0.4353, allocations: 64 kB / 0.5257 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003246/0.4385, allocations: 1.538 MB / 0.5272 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003592/0.4389, allocations: 271.2 kB / 0.5274 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006008/0.4395, allocations: 402.1 kB / 0.5278 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002699/0.4422, allocations: 1.48 MB / 0.5293 GB, free: 15.13 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4422, allocations: 0 / 0.5293 GB, free: 15.13 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4422, allocations: 0 / 0.5293 GB, free: 15.13 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.4423, allocations: 4 kB / 0.5293 GB, free: 15.12 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002388/0.4447, allocations: 1.149 MB / 0.5304 GB, free: 13.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.4447, allocations: 8.031 kB / 0.5304 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.4458, allocations: 143.9 kB / 0.5305 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009582/0.4467, allocations: 0.5404 MB / 0.5311 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.4469, allocations: 101 kB / 0.5312 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.897e-05/0.447, allocations: 52.34 kB / 0.5312 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.4484, allocations: 0.8317 MB / 0.532 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/0.4485, allocations: 3.938 kB / 0.532 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.486e-05/0.4486, allocations: 27.98 kB / 0.532 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.036e-05/0.4487, allocations: 44.97 kB / 0.5321 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.4498, allocations: 0.6009 MB / 0.5327 GB, free: 11.45 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.005325/0.4551, allocations: 4.888 MB / 0.5374 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00066/0.4558, allocations: 322.7 kB / 0.5378 GB, free: 5.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/0.4561, allocations: 140.8 kB / 0.5379 GB, free: 5.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007083/0.4568, allocations: 0.6058 MB / 0.5385 GB, free: 4.941 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.4569, allocations: 42.56 kB / 0.5385 GB, free: 4.891 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.234e-06/0.4569, allocations: 3.938 kB / 0.5385 GB, free: 4.887 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.004309/0.4612, allocations: 1.535 MB / 0.54 GB, free: 3.273 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.38e-05/0.4613, allocations: 132.5 kB / 0.5402 GB, free: 3.113 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008442/0.4622, allocations: 0.6562 MB / 0.5408 GB, free: 2.449 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.565e-05/0.4622, allocations: 41.64 kB / 0.5408 GB, free: 2.402 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003266/0.4625, allocations: 394.6 kB / 0.5412 GB, free: 2.012 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.4627, allocations: 130.2 kB / 0.5413 GB, free: 1.883 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.4629, allocations: 150.5 kB / 0.5415 GB, free: 1.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002247/0.4631, allocations: 374.8 kB / 0.5418 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/0.4635, allocations: 205.9 kB / 0.542 GB, free: 1.156 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000617/0.4641, allocations: 0.5019 MB / 0.5425 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009301/0.465, allocations: 0.7171 MB / 0.5432 GB, free: 15.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.4651, allocations: 4 kB / 0.5432 GB, free: 15.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001628/0.4667, allocations: 0.8912 MB / 0.5441 GB, free: 14.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.4667, allocations: 12 kB / 0.5441 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.4667, allocations: 8 kB / 0.5441 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/0.468, allocations: 297.8 kB / 0.5444 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.4684, allocations: 119.8 kB / 0.5445 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.4697, allocations: 1.401 MB / 0.5459 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004578/0.4702, allocations: 31.98 kB / 0.5459 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-05/0.4703, allocations: 40 kB / 0.5459 GB, free: 12.81 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 (70): * Single equations (assignments): 68 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003586/0.4706, allocations: 249.5 kB / 0.5462 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.4708, allocations: 75.22 kB / 0.5463 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001486/0.4723, allocations: 0.642 MB / 0.5469 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.4723, allocations: 4 kB / 0.5469 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4723, allocations: 0 / 0.5469 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.4723, allocations: 3.984 kB / 0.5469 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/0.4743, allocations: 1.228 MB / 0.5481 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4743, allocations: 0 / 0.5481 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.4745, allocations: 35.98 kB / 0.5481 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008681/0.4754, allocations: 217.5 kB / 0.5483 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.4754, allocations: 11.98 kB / 0.5483 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.4765, allocations: 1.296 MB / 0.5496 GB, free: 8.902 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.4765, allocations: 7.969 kB / 0.5496 GB, free: 8.895 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.4779, allocations: 0.8264 MB / 0.5504 GB, free: 8.035 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/0.4782, allocations: 184.3 kB / 0.5506 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.964e-05/0.4783, allocations: 15.98 kB / 0.5506 GB, free: 7.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003601/0.4786, allocations: 15.98 kB / 0.5506 GB, free: 7.805 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.257e-05/0.4787, allocations: 23.97 kB / 0.5507 GB, free: 7.781 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.843e-05/0.4788, allocations: 23.98 kB / 0.5507 GB, free: 7.758 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005387/0.4793, allocations: 455 kB / 0.5511 GB, free: 7.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4793, allocations: 4.062 kB / 0.5511 GB, free: 7.316 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001008/0.4803, allocations: 291.9 kB / 0.5514 GB, free: 7.031 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (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 (25): * 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: 2 * 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): 2 systems {(1,4), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008558/0.4812, allocations: 351.1 kB / 0.5517 GB, free: 6.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.4824, allocations: 0.5232 MB / 0.5522 GB, free: 6.152 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.4824, allocations: 7.938 kB / 0.5522 GB, free: 6.145 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004901/0.4829, allocations: 224.4 kB / 0.5525 GB, free: 5.926 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.4843, allocations: 349.8 kB / 0.5528 GB, free: 5.582 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.4865, allocations: 1.259 MB / 0.554 GB, free: 4.289 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006546/0.4872, allocations: 0.9303 MB / 0.5549 GB, free: 3.332 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006345/0.4879, allocations: 206 kB / 0.5551 GB, free: 3.129 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.488, allocations: 63.42 kB / 0.5552 GB, free: 3.066 MB / 430.1 MB Notification: Performance of SimCode: time 4.2e-07/0.488, allocations: 4 kB / 0.5552 GB, free: 3.062 MB / 430.1 MB Notification: Performance of Templates: time 0.02803/0.5161, allocations: 16.14 MB / 0.571 GB, free: 2.93 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1)