Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_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.1_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.009776/0.009776, allocations: 103.2 kB / 15.73 MB, free: 6.043 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.001996/0.001996, allocations: 194.1 kB / 16.68 MB, free: 5.965 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.512/1.512, allocations: 205.1 MB / 222.5 MB, free: 4.379 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.319/0.319, allocations: 38 MB / 307.9 MB, free: 10.32 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.1. 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.00144/0.00144, allocations: 63.91 kB / 433 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4452/0.4467, allocations: 56.46 MB / 489.5 MB, free: 19.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.05617/0.5029, allocations: 30.09 MB / 0.5074 GB, free: 14.51 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01281/0.5158, allocations: 4.583 MB / 0.5119 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001803/0.5177, allocations: 19.53 kB / 0.5119 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001684/0.5194, allocations: 308.3 kB / 0.5122 GB, free: 10.55 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.008343/0.5278, allocations: 1.807 MB / 0.5139 GB, free: 9.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007566/0.5354, allocations: 1.555 MB / 0.5155 GB, free: 8.246 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004444/0.5398, allocations: 1.844 MB / 0.5173 GB, free: 7.199 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.5412, allocations: 484 kB / 0.5177 GB, free: 6.887 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007812/0.549, allocations: 3.495 MB / 0.5211 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003171/0.5522, allocations: 1.384 MB / 0.5225 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002461/0.5525, allocations: 60.19 kB / 0.5225 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004078/0.5566, allocations: 1.541 MB / 0.5241 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005435/0.5571, allocations: 269.8 kB / 0.5243 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000939/0.5581, allocations: 402 kB / 0.5247 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00361/0.5617, allocations: 1.491 MB / 0.5261 GB, free: 2.164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.5617, allocations: 0 / 0.5261 GB, free: 2.164 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5617, allocations: 0 / 0.5261 GB, free: 2.164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.5617, allocations: 0 / 0.5261 GB, free: 2.164 MB / 398.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.002515/0.5643, allocations: 1.141 MB / 0.5273 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.5643, allocations: 8.031 kB / 0.5273 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.5653, allocations: 143.9 kB / 0.5274 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.5664, allocations: 0.5443 MB / 0.5279 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.5665, allocations: 105 kB / 0.528 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.173e-05/0.5666, allocations: 48.38 kB / 0.5281 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.5682, allocations: 0.8317 MB / 0.5289 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.5682, allocations: 7.938 kB / 0.5289 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.399e-05/0.5683, allocations: 23.91 kB / 0.5289 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.843e-05/0.5684, allocations: 36.98 kB / 0.529 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.5696, allocations: 0.6087 MB / 0.5296 GB, free: 14.49 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.00614/0.5757, allocations: 4.876 MB / 0.5343 GB, free: 9.195 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006735/0.5764, allocations: 334.6 kB / 0.5346 GB, free: 8.859 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.5767, allocations: 144.8 kB / 0.5348 GB, free: 8.715 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005754/0.5772, allocations: 0.6019 MB / 0.5354 GB, free: 7.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.5773, allocations: 42.55 kB / 0.5354 GB, free: 7.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.275e-06/0.5773, allocations: 0 / 0.5354 GB, free: 7.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.004243/0.5815, allocations: 1.539 MB / 0.5369 GB, free: 6.312 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.024e-05/0.5817, allocations: 132.5 kB / 0.537 GB, free: 6.152 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008591/0.5825, allocations: 0.6525 MB / 0.5377 GB, free: 5.492 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/0.5826, allocations: 33.7 kB / 0.5377 GB, free: 5.453 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003043/0.5829, allocations: 394.5 kB / 0.5381 GB, free: 5.062 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.583, allocations: 130.2 kB / 0.5382 GB, free: 4.934 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002448/0.5833, allocations: 154.4 kB / 0.5384 GB, free: 4.777 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.5835, allocations: 382.8 kB / 0.5387 GB, free: 4.395 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003527/0.5838, allocations: 201.9 kB / 0.5389 GB, free: 4.199 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006191/0.5845, allocations: 0.498 MB / 0.5394 GB, free: 3.562 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009929/0.5855, allocations: 0.7132 MB / 0.5401 GB, free: 2.719 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.5855, allocations: 7.938 kB / 0.5401 GB, free: 2.711 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001837/0.5873, allocations: 0.8947 MB / 0.541 GB, free: 1.805 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.5874, allocations: 10.12 kB / 0.541 GB, free: 1.797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.5874, allocations: 8 kB / 0.541 GB, free: 1.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/0.5887, allocations: 301.4 kB / 0.5413 GB, free: 1.488 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.5891, allocations: 123.8 kB / 0.5414 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.5905, allocations: 1.393 MB / 0.5428 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005474/0.5911, allocations: 24 kB / 0.5428 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-05/0.5912, allocations: 51.98 kB / 0.5428 GB, free: 15.85 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.0003941/0.5916, allocations: 245.6 kB / 0.5431 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.5917, allocations: 79.08 kB / 0.5431 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/0.5931, allocations: 0.6467 MB / 0.5438 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.5931, allocations: 8 kB / 0.5438 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5932, allocations: 0 / 0.5438 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.5932, allocations: 3.984 kB / 0.5438 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/0.5951, allocations: 1.213 MB / 0.545 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.5952, allocations: 4.062 kB / 0.545 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.5953, allocations: 51.91 kB / 0.545 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008652/0.5962, allocations: 201.4 kB / 0.5452 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.5963, allocations: 8 kB / 0.5452 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.5976, allocations: 1.3 MB / 0.5465 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/0.5976, allocations: 7.875 kB / 0.5465 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.599, allocations: 0.8226 MB / 0.5473 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003534/0.5994, allocations: 188.2 kB / 0.5475 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.6e-05/0.5995, allocations: 8 kB / 0.5475 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003538/0.5998, allocations: 15.98 kB / 0.5475 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.5999, allocations: 28.03 kB / 0.5475 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-05/0.6, allocations: 24.11 kB / 0.5476 GB, free: 10.8 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005986/0.6006, allocations: 455 kB / 0.548 GB, free: 10.37 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6006, allocations: 0 / 0.548 GB, free: 10.37 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001084/0.6017, allocations: 295.9 kB / 0.5483 GB, free: 10.08 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.0008556/0.6025, allocations: 359.5 kB / 0.5486 GB, free: 9.719 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00126/0.6038, allocations: 0.527 MB / 0.5491 GB, free: 9.191 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.6038, allocations: 96 / 0.5491 GB, free: 9.191 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004989/0.6043, allocations: 235.6 kB / 0.5494 GB, free: 8.961 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/0.6059, allocations: 346.2 kB / 0.5497 GB, free: 8.621 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.6082, allocations: 1.259 MB / 0.5509 GB, free: 7.328 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005502/0.6088, allocations: 0.9342 MB / 0.5518 GB, free: 6.363 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005954/0.6094, allocations: 202 kB / 0.552 GB, free: 6.164 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.6095, allocations: 59.42 kB / 0.5521 GB, free: 6.105 MB / 430.1 MB Notification: Performance of SimCode: time 2.1e-07/0.6095, allocations: 0 / 0.5521 GB, free: 6.105 MB / 430.1 MB Notification: Performance of Templates: time 0.02737/0.6369, allocations: 16.38 MB / 0.5681 GB, free: 5.734 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1)