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.005861/0.005861, allocations: 101.2 kB / 15.73 MB, free: 6.055 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.001257/0.001257, allocations: 196.9 kB / 16.68 MB, free: 5.969 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.479/1.479, 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.3682/0.3682, allocations: 38 MB / 307.9 MB, free: 10.15 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.00153/0.00153, allocations: 68.47 kB / 433 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.419, allocations: 56.47 MB / 489.5 MB, free: 20.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.03536/0.4544, allocations: 30.08 MB / 0.5074 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00865/0.4631, allocations: 4.572 MB / 0.5119 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001375/0.4646, allocations: 23.72 kB / 0.5119 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.4658, allocations: 304.4 kB / 0.5122 GB, free: 10.59 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.006633/0.4724, allocations: 1.855 MB / 0.514 GB, free: 9.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004904/0.4773, allocations: 1.541 MB / 0.5155 GB, free: 8.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003029/0.4804, allocations: 1.851 MB / 0.5173 GB, free: 7.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007733/0.4812, allocations: 483.2 kB / 0.5178 GB, free: 6.906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007742/0.4889, allocations: 3.509 MB / 0.5212 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002909/0.4919, allocations: 1.379 MB / 0.5225 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003428/0.4923, allocations: 66.03 kB / 0.5226 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004067/0.4963, allocations: 1.539 MB / 0.5241 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005428/0.4969, allocations: 266 kB / 0.5244 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009076/0.4978, allocations: 410.1 kB / 0.5247 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003204/0.501, allocations: 1.481 MB / 0.5262 GB, free: 2.098 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.5011, allocations: 0 / 0.5262 GB, free: 2.098 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5011, allocations: 0 / 0.5262 GB, free: 2.098 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.441e-05/0.5011, allocations: 4 kB / 0.5262 GB, free: 2.094 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.002347/0.5034, allocations: 1.141 MB / 0.5273 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.5035, allocations: 8.031 kB / 0.5273 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001054/0.5046, allocations: 155.8 kB / 0.5275 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008468/0.5054, allocations: 0.5405 MB / 0.528 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.5056, allocations: 96.97 kB / 0.5281 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.066e-05/0.5056, allocations: 52.36 kB / 0.5281 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.5071, allocations: 0.8394 MB / 0.529 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.5071, allocations: 0 / 0.529 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.939e-05/0.5072, allocations: 24 kB / 0.529 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.099e-05/0.5073, allocations: 44.91 kB / 0.529 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.5085, allocations: 0.6009 MB / 0.5296 GB, free: 14.41 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.006564/0.515, allocations: 4.88 MB / 0.5344 GB, free: 9.117 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009635/0.516, allocations: 331.7 kB / 0.5347 GB, free: 8.785 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000349/0.5164, allocations: 140.8 kB / 0.5348 GB, free: 8.645 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006563/0.5171, allocations: 0.6097 MB / 0.5354 GB, free: 7.902 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.028e-05/0.5171, allocations: 38.5 kB / 0.5355 GB, free: 7.855 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.815e-06/0.5171, allocations: 0 / 0.5355 GB, free: 7.855 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.004192/0.5213, allocations: 1.543 MB / 0.537 GB, free: 6.234 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.783e-05/0.5215, allocations: 132.5 kB / 0.5371 GB, free: 6.074 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.5226, allocations: 0.6525 MB / 0.5377 GB, free: 5.414 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.249e-05/0.5226, allocations: 29.7 kB / 0.5378 GB, free: 5.379 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003237/0.523, allocations: 398.5 kB / 0.5381 GB, free: 4.984 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.5231, allocations: 126.2 kB / 0.5383 GB, free: 4.859 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/0.5233, allocations: 154.5 kB / 0.5384 GB, free: 4.703 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.5235, allocations: 378.8 kB / 0.5388 GB, free: 4.324 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004026/0.5239, allocations: 209.8 kB / 0.539 GB, free: 4.121 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008886/0.5248, allocations: 0.498 MB / 0.5394 GB, free: 3.484 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.526, allocations: 0.7132 MB / 0.5401 GB, free: 2.641 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/0.526, allocations: 4 kB / 0.5401 GB, free: 2.637 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001947/0.5279, allocations: 0.8954 MB / 0.541 GB, free: 1.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.528, allocations: 12 kB / 0.541 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.798e-05/0.5281, allocations: 16 kB / 0.541 GB, free: 1.703 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001533/0.5296, allocations: 289.5 kB / 0.5413 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004096/0.53, allocations: 123.8 kB / 0.5414 GB, free: 1.293 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/0.5318, allocations: 1.393 MB / 0.5428 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007022/0.5326, allocations: 27.98 kB / 0.5428 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.5327, allocations: 48.12 kB / 0.5429 GB, free: 15.78 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.0005746/0.5333, allocations: 253.4 kB / 0.5431 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/0.5335, allocations: 75.09 kB / 0.5432 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/0.5352, allocations: 0.6441 MB / 0.5438 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.5352, allocations: 4 kB / 0.5438 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.5352, allocations: 0 / 0.5438 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.5353, allocations: 7.984 kB / 0.5438 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002598/0.5379, allocations: 1.213 MB / 0.545 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.5379, allocations: 4.031 kB / 0.545 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.5381, allocations: 43.92 kB / 0.5451 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/0.5391, allocations: 197.5 kB / 0.5452 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.296e-05/0.5392, allocations: 23.98 kB / 0.5453 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/0.5405, allocations: 1.292 MB / 0.5465 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.709e-06/0.5405, allocations: 7.969 kB / 0.5465 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.5421, allocations: 0.8188 MB / 0.5473 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004694/0.5426, allocations: 188.2 kB / 0.5475 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/0.5428, allocations: 8.125 kB / 0.5475 GB, free: 10.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004478/0.5433, allocations: 28.05 kB / 0.5476 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.043e-05/0.5434, allocations: 19.97 kB / 0.5476 GB, free: 10.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-05/0.5434, allocations: 23.98 kB / 0.5476 GB, free: 10.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000806/0.5443, allocations: 463 kB / 0.548 GB, free: 10.29 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5443, allocations: 0 / 0.548 GB, free: 10.29 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001584/0.5459, allocations: 291.9 kB / 0.5483 GB, free: 10 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.001221/0.5471, allocations: 360.4 kB / 0.5487 GB, free: 9.645 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001317/0.5484, allocations: 0.5229 MB / 0.5492 GB, free: 9.121 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.5484, allocations: 4 kB / 0.5492 GB, free: 9.117 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005158/0.549, allocations: 223.7 kB / 0.5494 GB, free: 8.898 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.5505, allocations: 350.3 kB / 0.5497 GB, free: 8.555 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00315/0.5537, allocations: 1.259 MB / 0.551 GB, free: 7.262 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008994/0.5546, allocations: 0.9303 MB / 0.5519 GB, free: 6.301 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009367/0.5555, allocations: 209.9 kB / 0.5521 GB, free: 6.094 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/0.5558, allocations: 59.42 kB / 0.5521 GB, free: 6.035 MB / 430.1 MB Notification: Performance of SimCode: time 1.432e-06/0.5558, allocations: 0 / 0.5521 GB, free: 6.035 MB / 430.1 MB Notification: Performance of Templates: time 0.0328/0.5886, allocations: 16.14 MB / 0.5679 GB, free: 5.898 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)