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.001354/0.001354, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 190.2 kB / 16.67 MB, free: 6.57 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.446/1.446, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.3248/0.3248, allocations: 38 MB / 307.9 MB, free: 10.06 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.001699/0.001699, allocations: 68.52 kB / 433 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.4005, allocations: 56.47 MB / 489.5 MB, free: 19.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.03597/0.4366, allocations: 30.12 MB / 0.5074 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008441/0.4451, allocations: 4.572 MB / 0.5119 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.4465, allocations: 23.41 kB / 0.5119 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.4477, allocations: 296.4 kB / 0.5122 GB, free: 10.54 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.007144/0.4548, allocations: 1.767 MB / 0.5139 GB, free: 9.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00549/0.4604, allocations: 1.503 MB / 0.5154 GB, free: 8.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004041/0.4644, allocations: 1.843 MB / 0.5172 GB, free: 7.234 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.4655, allocations: 479.5 kB / 0.5176 GB, free: 6.926 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007335/0.4728, allocations: 3.162 MB / 0.5207 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002757/0.4756, allocations: 1.272 MB / 0.522 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002391/0.4759, allocations: 61.28 kB / 0.522 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004043/0.4799, allocations: 1.448 MB / 0.5234 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000504/0.4804, allocations: 265.6 kB / 0.5237 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008324/0.4813, allocations: 402.8 kB / 0.5241 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004156/0.4855, allocations: 1.495 MB / 0.5255 GB, free: 2.559 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.4855, allocations: 0 / 0.5255 GB, free: 2.559 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4855, allocations: 1.219 kB / 0.5255 GB, free: 2.559 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.425e-05/0.4855, allocations: 0 / 0.5255 GB, free: 2.559 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.003023/0.4886, allocations: 1.176 MB / 0.5267 GB, free: 1.535 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.4886, allocations: 12.03 kB / 0.5267 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.4897, allocations: 148.4 kB / 0.5268 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009918/0.4907, allocations: 0.5448 MB / 0.5274 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.4908, allocations: 101 kB / 0.5275 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.979e-05/0.4909, allocations: 48.38 kB / 0.5275 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.4925, allocations: 0.8394 MB / 0.5283 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.4925, allocations: 4 kB / 0.5283 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.234e-05/0.4926, allocations: 24 kB / 0.5284 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.354e-05/0.4927, allocations: 40.92 kB / 0.5284 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.4938, allocations: 0.6087 MB / 0.529 GB, free: 15.04 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.006032/0.4999, allocations: 4.881 MB / 0.5338 GB, free: 9.742 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007829/0.5007, allocations: 330.6 kB / 0.5341 GB, free: 9.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.5009, allocations: 140.8 kB / 0.5342 GB, free: 9.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005841/0.5015, allocations: 0.6058 MB / 0.5348 GB, free: 8.531 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/0.5016, allocations: 46.48 kB / 0.5348 GB, free: 8.477 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.835e-06/0.5016, allocations: 4 kB / 0.5349 GB, free: 8.473 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.004431/0.506, allocations: 1.544 MB / 0.5364 GB, free: 6.852 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.458e-05/0.5061, allocations: 136.5 kB / 0.5365 GB, free: 6.688 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009529/0.5071, allocations: 0.6564 MB / 0.5371 GB, free: 6.023 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.523e-05/0.5071, allocations: 33.7 kB / 0.5372 GB, free: 5.984 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003446/0.5075, allocations: 403.6 kB / 0.5375 GB, free: 5.586 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.5076, allocations: 138.9 kB / 0.5377 GB, free: 5.449 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/0.5078, allocations: 150.6 kB / 0.5378 GB, free: 5.297 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002133/0.5081, allocations: 378.7 kB / 0.5382 GB, free: 4.918 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003482/0.5084, allocations: 205.9 kB / 0.5384 GB, free: 4.719 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005856/0.509, allocations: 0.4941 MB / 0.5389 GB, free: 4.086 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009499/0.51, allocations: 0.7211 MB / 0.5396 GB, free: 3.234 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.51, allocations: 0 / 0.5396 GB, free: 3.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001659/0.5116, allocations: 0.8996 MB / 0.5404 GB, free: 2.324 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.5117, allocations: 9.25 kB / 0.5405 GB, free: 2.316 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.5117, allocations: 12 kB / 0.5405 GB, free: 2.305 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001329/0.513, allocations: 298.7 kB / 0.5408 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.5134, allocations: 123.8 kB / 0.5409 GB, free: 1.887 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/0.5147, allocations: 1.402 MB / 0.5422 GB, free: 444 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000619/0.5154, allocations: 31.92 kB / 0.5423 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.599e-05/0.5155, allocations: 44 kB / 0.5423 GB, free: 368 kB / 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.000441/0.5159, allocations: 241.6 kB / 0.5425 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.5161, allocations: 75.47 kB / 0.5426 GB, free: 40 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/0.5177, allocations: 0.6547 MB / 0.5433 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.5177, allocations: 4 kB / 0.5433 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5177, allocations: 0 / 0.5433 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.5177, allocations: 3.984 kB / 0.5433 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002106/0.5198, allocations: 1.224 MB / 0.5445 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.5199, allocations: 3.984 kB / 0.5445 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.5201, allocations: 39.92 kB / 0.5445 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008857/0.5209, allocations: 205.5 kB / 0.5447 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/0.521, allocations: 12 kB / 0.5447 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.5221, allocations: 1.304 MB / 0.546 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.5222, allocations: 8.062 kB / 0.546 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.5236, allocations: 0.819 MB / 0.5468 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003301/0.5239, allocations: 192.6 kB / 0.547 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.5241, allocations: 8.062 kB / 0.547 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003651/0.5244, allocations: 19.98 kB / 0.547 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.779e-05/0.5245, allocations: 23.97 kB / 0.547 GB, free: 11.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.085e-05/0.5246, allocations: 28.05 kB / 0.547 GB, free: 11.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006044/0.5252, allocations: 451 kB / 0.5475 GB, free: 10.87 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5252, allocations: 3.938 kB / 0.5475 GB, free: 10.87 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001155/0.5264, allocations: 299.6 kB / 0.5478 GB, free: 10.57 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.0008498/0.5272, allocations: 355.3 kB / 0.5481 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.5283, allocations: 0.5228 MB / 0.5486 GB, free: 9.691 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5284, allocations: 0 / 0.5486 GB, free: 9.691 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006167/0.529, allocations: 232.7 kB / 0.5488 GB, free: 9.465 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.5305, allocations: 348.8 kB / 0.5492 GB, free: 9.125 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/0.5329, allocations: 1.27 MB / 0.5504 GB, free: 7.82 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006378/0.5336, allocations: 0.9342 MB / 0.5513 GB, free: 6.855 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006467/0.5343, allocations: 209.9 kB / 0.5515 GB, free: 6.648 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.5344, allocations: 63.42 kB / 0.5516 GB, free: 6.586 MB / 430.1 MB Notification: Performance of SimCode: time 1.282e-06/0.5344, allocations: 0 / 0.5516 GB, free: 6.586 MB / 430.1 MB Notification: Performance of Templates: time 0.03622/0.5707, allocations: 16.13 MB / 0.5673 GB, free: 6.461 MB / 446.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)