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.006554/0.006554, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001176/0.001176, allocations: 200.3 kB / 16.68 MB, free: 5.934 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.45/1.45, allocations: 205.1 MB / 222.6 MB, free: 4.496 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.3099/0.3099, allocations: 37.99 MB / 307.9 MB, free: 10.12 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.001783/0.001783, allocations: 67.91 kB / 433 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4023, allocations: 56.46 MB / 489.5 MB, free: 19.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.03902/0.4414, allocations: 30.09 MB / 0.5074 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01194/0.4534, allocations: 4.576 MB / 0.5119 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/0.4546, allocations: 19.19 kB / 0.5119 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.4561, allocations: 304.1 kB / 0.5122 GB, free: 10.57 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.007783/0.4639, allocations: 1.814 MB / 0.5139 GB, free: 9.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006595/0.4705, allocations: 1.555 MB / 0.5155 GB, free: 8.266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004773/0.4753, allocations: 1.838 MB / 0.5173 GB, free: 7.223 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001637/0.4769, allocations: 484.2 kB / 0.5177 GB, free: 6.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01197/0.4889, allocations: 3.493 MB / 0.5211 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003866/0.4929, allocations: 1.385 MB / 0.5225 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003018/0.4932, allocations: 61.31 kB / 0.5225 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006558/0.4998, allocations: 1.537 MB / 0.524 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000804/0.5006, allocations: 273.6 kB / 0.5243 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.5017, allocations: 402 kB / 0.5247 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004538/0.5062, allocations: 1.488 MB / 0.5261 GB, free: 2.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.5063, allocations: 0 / 0.5261 GB, free: 2.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5063, allocations: 0 / 0.5261 GB, free: 2.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.5063, allocations: 0 / 0.5261 GB, free: 2.16 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.003596/0.5099, allocations: 1.175 MB / 0.5273 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.51, allocations: 8.031 kB / 0.5273 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00182/0.5118, allocations: 156.3 kB / 0.5275 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.5134, allocations: 0.5448 MB / 0.528 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001618/0.5136, allocations: 96.97 kB / 0.5281 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.5137, allocations: 56.34 kB / 0.5281 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/0.5162, allocations: 0.8317 MB / 0.5289 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.029e-05/0.5162, allocations: 3.938 kB / 0.5289 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.5164, allocations: 27.98 kB / 0.529 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/0.5165, allocations: 40.97 kB / 0.529 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002068/0.5186, allocations: 0.6048 MB / 0.5296 GB, free: 14.44 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.008198/0.5268, allocations: 4.889 MB / 0.5344 GB, free: 9.133 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.528, allocations: 326.6 kB / 0.5347 GB, free: 8.805 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004014/0.5284, allocations: 140.8 kB / 0.5348 GB, free: 8.664 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007607/0.5292, allocations: 0.6058 MB / 0.5354 GB, free: 7.926 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.055e-05/0.5292, allocations: 38.56 kB / 0.5354 GB, free: 7.879 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 3.507e-06/0.5292, allocations: 0 / 0.5354 GB, free: 7.879 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.006762/0.536, allocations: 1.552 MB / 0.537 GB, free: 6.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.5362, allocations: 140.5 kB / 0.5371 GB, free: 6.082 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/0.5377, allocations: 0.6486 MB / 0.5377 GB, free: 5.426 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.037e-05/0.5378, allocations: 37.7 kB / 0.5378 GB, free: 5.383 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004398/0.5382, allocations: 399.6 kB / 0.5381 GB, free: 4.988 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/0.5384, allocations: 138.8 kB / 0.5383 GB, free: 4.852 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003339/0.5388, allocations: 154.6 kB / 0.5384 GB, free: 4.695 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002394/0.539, allocations: 378.8 kB / 0.5388 GB, free: 4.316 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005842/0.5396, allocations: 201.9 kB / 0.539 GB, free: 4.121 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000924/0.5405, allocations: 0.5019 MB / 0.5395 GB, free: 3.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.5421, allocations: 0.7132 MB / 0.5402 GB, free: 2.637 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.535e-05/0.5421, allocations: 4 kB / 0.5402 GB, free: 2.633 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002818/0.545, allocations: 0.8989 MB / 0.5411 GB, free: 1.723 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.545, allocations: 12.88 kB / 0.5411 GB, free: 1.711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.545, allocations: 8 kB / 0.5411 GB, free: 1.703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001477/0.5465, allocations: 299.3 kB / 0.5414 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/0.5469, allocations: 127.8 kB / 0.5415 GB, free: 1.281 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.5482, allocations: 1.393 MB / 0.5428 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005957/0.5488, allocations: 31.98 kB / 0.5429 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.726e-05/0.5489, allocations: 40 kB / 0.5429 GB, free: 15.77 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.0003994/0.5493, allocations: 253.7 kB / 0.5431 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.5495, allocations: 79.47 kB / 0.5432 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001643/0.5512, allocations: 0.6332 MB / 0.5438 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.5512, allocations: 8 kB / 0.5439 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.5512, allocations: 0 / 0.5439 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.5512, allocations: 3.984 kB / 0.5439 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/0.5535, allocations: 1.228 MB / 0.5451 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-06/0.5535, allocations: 64 / 0.5451 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.5537, allocations: 39.98 kB / 0.5451 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009495/0.5546, allocations: 217.3 kB / 0.5453 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.5547, allocations: 11.98 kB / 0.5453 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/0.556, allocations: 1.296 MB / 0.5466 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.556, allocations: 7.969 kB / 0.5466 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.5576, allocations: 0.8307 MB / 0.5474 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003901/0.558, allocations: 188.7 kB / 0.5476 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.5582, allocations: 8 kB / 0.5476 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004594/0.5586, allocations: 15.98 kB / 0.5476 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.258e-05/0.5587, allocations: 28.03 kB / 0.5476 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.673e-05/0.5588, allocations: 24.11 kB / 0.5476 GB, free: 10.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006917/0.5595, allocations: 459 kB / 0.5481 GB, free: 10.26 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5595, allocations: 0 / 0.5481 GB, free: 10.26 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001274/0.5608, allocations: 287.6 kB / 0.5484 GB, free: 9.98 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.001177/0.5619, allocations: 365.8 kB / 0.5487 GB, free: 9.613 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.5632, allocations: 0.527 MB / 0.5492 GB, free: 9.086 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.5633, allocations: 4 kB / 0.5492 GB, free: 9.082 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005596/0.5638, allocations: 223.7 kB / 0.5494 GB, free: 8.863 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001729/0.5656, allocations: 346.6 kB / 0.5498 GB, free: 8.523 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.5681, allocations: 1.274 MB / 0.551 GB, free: 7.215 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006537/0.5688, allocations: 0.9342 MB / 0.5519 GB, free: 6.25 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007215/0.5695, allocations: 205.9 kB / 0.5521 GB, free: 6.047 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.5697, allocations: 67.34 kB / 0.5522 GB, free: 5.98 MB / 430.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5697, allocations: 0 / 0.5522 GB, free: 5.98 MB / 430.1 MB Notification: Performance of Templates: time 0.03097/0.6007, allocations: 16.15 MB / 0.568 GB, free: 5.844 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)