Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.1.|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002629/0.002633, allocations: 347.3 kB / 15.94 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.589/3.589, allocations: 341.5 MB / 358.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003569/0.003569, allocations: 221.1 kB / 397.9 MB, free: 4.988 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.6188/0.6188, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004886/0.0004888, allocations: 16 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08591/0.08643, allocations: 48.7 MB / 0.6068 GB, free: 4.652 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.3249/0.4114, allocations: 26.96 MB / 0.6331 GB, free: 76.55 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01168/0.4231, allocations: 4.338 MB / 0.6373 GB, free: 73.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/0.4247, allocations: 26.75 kB / 0.6373 GB, free: 73.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.4263, allocations: 226.8 kB / 0.6376 GB, free: 73.41 MB / 362.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.007877/0.4342, allocations: 1.58 MB / 0.6391 GB, free: 72.69 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006211/0.4404, allocations: 1.195 MB / 0.6403 GB, free: 72.2 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005336/0.4458, allocations: 2.225 MB / 0.6424 GB, free: 71.38 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001413/0.4473, allocations: 402.6 kB / 0.6428 GB, free: 71.25 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00957/0.4569, allocations: 2.969 MB / 0.6457 GB, free: 70 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003922/0.4608, allocations: 1.262 MB / 0.647 GB, free: 69.44 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002938/0.4612, allocations: 30.81 kB / 0.647 GB, free: 69.44 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005227/0.4664, allocations: 1.307 MB / 0.6483 GB, free: 68.9 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007339/0.4672, allocations: 237.6 kB / 0.6485 GB, free: 68.74 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004993/0.4677, allocations: 166.5 kB / 0.6487 GB, free: 68.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003238/0.471, allocations: 1.056 MB / 0.6497 GB, free: 67.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.471, allocations: 0 / 0.6497 GB, free: 67.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.4711, allocations: 1.5 kB / 0.6497 GB, free: 67.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.4711, allocations: 0 / 0.6497 GB, free: 67.98 MB / 362.7 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.003564/0.4747, allocations: 1.001 MB / 0.6507 GB, free: 67.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/0.4747, allocations: 12.81 kB / 0.6507 GB, free: 67.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/0.4767, allocations: 142.5 kB / 0.6508 GB, free: 67.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.4782, allocations: 0.501 MB / 0.6513 GB, free: 66.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/0.4784, allocations: 111.5 kB / 0.6514 GB, free: 66.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/0.4786, allocations: 49.25 kB / 0.6515 GB, free: 66.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002923/0.4816, allocations: 0.8259 MB / 0.6523 GB, free: 65.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.031e-05/0.4817, allocations: 6.516 kB / 0.6523 GB, free: 65.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001843/0.4819, allocations: 31.97 kB / 0.6523 GB, free: 65.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001251/0.482, allocations: 37.52 kB / 0.6523 GB, free: 65.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002605/0.4846, allocations: 0.5967 MB / 0.6529 GB, free: 65.61 MB / 362.7 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.008817/0.4935, allocations: 4.884 MB / 0.6577 GB, free: 60.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.4949, allocations: 310.1 kB / 0.658 GB, free: 60.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004586/0.4954, allocations: 128.8 kB / 0.6581 GB, free: 59.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006917/0.4961, allocations: 0.6138 MB / 0.6587 GB, free: 59.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.4961, allocations: 38.56 kB / 0.6587 GB, free: 59.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 4.459e-06/0.4962, allocations: 0 / 0.6587 GB, free: 59.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=35): time 0.007868/0.504, allocations: 1.493 MB / 0.6602 GB, free: 57.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.5041, allocations: 140.5 kB / 0.6603 GB, free: 57.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/0.5055, allocations: 0.6368 MB / 0.661 GB, free: 56.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.343e-05/0.5056, allocations: 33.7 kB / 0.661 GB, free: 56.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004208/0.5061, allocations: 410.2 kB / 0.6614 GB, free: 56.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.5062, allocations: 122.3 kB / 0.6615 GB, free: 56.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.274e-05/0.5063, allocations: 16 kB / 0.6615 GB, free: 56.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.5065, allocations: 374.8 kB / 0.6619 GB, free: 55.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005313/0.507, allocations: 201.9 kB / 0.6621 GB, free: 55.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006938/0.5077, allocations: 0.5348 MB / 0.6626 GB, free: 54.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000692/0.5085, allocations: 295.9 kB / 0.6629 GB, free: 54.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.5085, allocations: 8 kB / 0.6629 GB, free: 54.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002178/0.5107, allocations: 0.8935 MB / 0.6637 GB, free: 53.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.5107, allocations: 15.88 kB / 0.6638 GB, free: 53.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.5107, allocations: 15.98 kB / 0.6638 GB, free: 53.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001938/0.5127, allocations: 276.8 kB / 0.664 GB, free: 53.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007286/0.5134, allocations: 135.7 kB / 0.6642 GB, free: 53.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/0.5149, allocations: 1.374 MB / 0.6655 GB, free: 51.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.5159, allocations: 35.89 kB / 0.6655 GB, free: 51.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.5161, allocations: 55.92 kB / 0.6656 GB, free: 51.72 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 13} Notification: Performance of prepare postOptimizeDAE: time 0.0004791/0.5166, allocations: 247.5 kB / 0.6658 GB, free: 51.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.5167, allocations: 63.31 kB / 0.6659 GB, free: 51.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/0.5189, allocations: 0.6263 MB / 0.6665 GB, free: 50.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.5189, allocations: 3.984 kB / 0.6665 GB, free: 50.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.5189, allocations: 0 / 0.6665 GB, free: 50.78 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004412/0.5194, allocations: 192.2 kB / 0.6667 GB, free: 50.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/0.5196, allocations: 8 kB / 0.6667 GB, free: 50.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006251/0.5202, allocations: 23.92 kB / 0.6667 GB, free: 50.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.737e-05/0.5203, allocations: 23.97 kB / 0.6667 GB, free: 50.52 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002111/0.5224, allocations: 0.5995 MB / 0.6673 GB, free: 49.91 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00139/0.5238, allocations: 0.7417 MB / 0.6681 GB, free: 49.15 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003738/0.5242, allocations: 151.9 kB / 0.6682 GB, free: 49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007062/0.525, allocations: 439 kB / 0.6686 GB, free: 48.57 MB / 362.7 MB Notification: Performance of Backend: time 5.61e-07/0.525, allocations: 0 / 0.6686 GB, free: 48.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00315/0.5281, allocations: 0.8355 MB / 0.6694 GB, free: 47.76 MB / 362.7 MB Notification: Performance of SimCode: time 0.003823/0.532, allocations: 2.142 MB / 0.6715 GB, free: 45.59 MB / 362.7 MB Notification: Performance of Templates: time 0.03801/0.57, allocations: 15.7 MB / 0.6869 GB, free: 30.25 MB / 362.7 MB