Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008358/0.008358, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001882/0.001882, allocations: 196.2 kB / 16.67 MB, free: 5.52 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.409/1.409, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1771/0.1771, allocations: 38.01 MB / 307.9 MB, free: 5.984 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.001608/0.001608, allocations: 65.78 kB / 433 MB, free: 14.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1338, allocations: 56.47 MB / 489.5 MB, free: 5.852 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.03367/0.1675, allocations: 30.11 MB / 0.5074 GB, free: 7.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007334/0.1749, allocations: 4.585 MB / 0.5119 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007584/0.1758, allocations: 19.88 kB / 0.5119 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009611/0.1767, allocations: 302.1 kB / 0.5122 GB, free: 2.711 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.004462/0.1812, allocations: 1.794 MB / 0.514 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3344/0.5157, allocations: 1.495 MB / 0.5154 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003851/0.5195, allocations: 1.85 MB / 0.5172 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.5207, allocations: 481.4 kB / 0.5177 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007888/0.5286, allocations: 3.163 MB / 0.5208 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00314/0.5318, allocations: 1.279 MB / 0.522 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001952/0.532, allocations: 60.44 kB / 0.5221 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003634/0.5356, allocations: 1.446 MB / 0.5235 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004633/0.5361, allocations: 270.4 kB / 0.5237 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007347/0.5369, allocations: 399.1 kB / 0.5241 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003344/0.5402, allocations: 1.484 MB / 0.5256 GB, free: 4.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.5402, allocations: 1.188 kB / 0.5256 GB, free: 4.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5402, allocations: 0 / 0.5256 GB, free: 4.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.5403, allocations: 0 / 0.5256 GB, free: 4.32 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.002557/0.5428, allocations: 1.147 MB / 0.5267 GB, free: 3.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.5429, allocations: 9.812 kB / 0.5267 GB, free: 3.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.544, allocations: 142.9 kB / 0.5268 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000894/0.5449, allocations: 0.5493 MB / 0.5274 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.545, allocations: 100.8 kB / 0.5275 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.5451, allocations: 55.73 kB / 0.5275 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.5467, allocations: 0.829 MB / 0.5283 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.5467, allocations: 6.344 kB / 0.5283 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.149e-05/0.5468, allocations: 28.2 kB / 0.5284 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.977e-05/0.5469, allocations: 40.17 kB / 0.5284 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.5481, allocations: 0.6033 MB / 0.529 GB, free: 3.098 MB / 398.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.005062/0.5532, allocations: 4.877 MB / 0.5338 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007149/0.5539, allocations: 341.3 kB / 0.5341 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/0.5542, allocations: 137.1 kB / 0.5342 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005638/0.5548, allocations: 0.6093 MB / 0.5348 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.5548, allocations: 40.97 kB / 0.5348 GB, free: 14.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.504e-06/0.5548, allocations: 1.844 kB / 0.5349 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.004349/0.5592, allocations: 1.538 MB / 0.5364 GB, free: 14.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.042e-05/0.5593, allocations: 134.7 kB / 0.5365 GB, free: 14.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009506/0.5602, allocations: 0.6573 MB / 0.5371 GB, free: 13.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.004e-05/0.5603, allocations: 34.48 kB / 0.5372 GB, free: 13.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000326/0.5606, allocations: 388.7 kB / 0.5375 GB, free: 13.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.5607, allocations: 132.2 kB / 0.5377 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.561, allocations: 150.2 kB / 0.5378 GB, free: 13.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.5612, allocations: 384.5 kB / 0.5382 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/0.5615, allocations: 202.4 kB / 0.5384 GB, free: 13.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000642/0.5622, allocations: 0.4976 MB / 0.5388 GB, free: 12.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009819/0.5632, allocations: 0.7132 MB / 0.5395 GB, free: 12.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.5632, allocations: 2.625 kB / 0.5395 GB, free: 12.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00178/0.565, allocations: 0.9013 MB / 0.5404 GB, free: 12.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.565, allocations: 10.19 kB / 0.5404 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/0.565, allocations: 9.469 kB / 0.5404 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001403/0.5665, allocations: 295.9 kB / 0.5407 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000357/0.5668, allocations: 120.1 kB / 0.5408 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.5681, allocations: 1.394 MB / 0.5422 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005888/0.5687, allocations: 29.12 kB / 0.5422 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.963e-05/0.5688, allocations: 43.72 kB / 0.5423 GB, free: 11.39 MB / 414.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.0004263/0.5692, allocations: 258 kB / 0.5425 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.5694, allocations: 73.91 kB / 0.5426 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/0.5709, allocations: 0.655 MB / 0.5432 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.5709, allocations: 4.125 kB / 0.5432 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.5709, allocations: 0 / 0.5432 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.571, allocations: 5.375 kB / 0.5432 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/0.5731, allocations: 1.224 MB / 0.5444 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.748e-06/0.5731, allocations: 0 / 0.5444 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.5733, allocations: 42.45 kB / 0.5445 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008794/0.5742, allocations: 199 kB / 0.5447 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.703e-05/0.5742, allocations: 27.53 kB / 0.5447 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001142/0.5754, allocations: 1.3 MB / 0.546 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.5754, allocations: 5.188 kB / 0.546 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.5767, allocations: 0.8204 MB / 0.5468 GB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003142/0.5771, allocations: 186 kB / 0.5469 GB, free: 8.926 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-05/0.5772, allocations: 7.031 kB / 0.5469 GB, free: 8.922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.5775, allocations: 19.91 kB / 0.547 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/0.5776, allocations: 23.92 kB / 0.547 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-05/0.5777, allocations: 32.08 kB / 0.547 GB, free: 8.906 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006239/0.5783, allocations: 451.1 kB / 0.5474 GB, free: 8.715 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5783, allocations: 0 / 0.5474 GB, free: 8.715 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001424/0.5797, allocations: 297.1 kB / 0.5477 GB, free: 8.664 MB / 414.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.001035/0.5808, allocations: 356.4 kB / 0.5481 GB, free: 8.512 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.582, allocations: 0.5215 MB / 0.5486 GB, free: 8.359 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5821, allocations: 4.125 kB / 0.5486 GB, free: 8.355 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004957/0.5826, allocations: 225.4 kB / 0.5488 GB, free: 8.266 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/0.584, allocations: 345.6 kB / 0.5491 GB, free: 8.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0023/0.5863, allocations: 1.258 MB / 0.5504 GB, free: 7.332 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005494/0.5869, allocations: 0.9366 MB / 0.5513 GB, free: 6.516 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006217/0.5875, allocations: 199.5 kB / 0.5515 GB, free: 6.426 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.5877, allocations: 61.73 kB / 0.5515 GB, free: 6.41 MB / 414.1 MB Notification: Performance of SimCode: time 6.12e-07/0.5877, allocations: 0 / 0.5515 GB, free: 6.41 MB / 414.1 MB Notification: Performance of Templates: time 0.03063/0.6183, allocations: 16.14 MB / 0.5673 GB, free: 8.223 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1)