Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.Essotherm650,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.Essotherm650") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002653/0.002653, allocations: 352.3 kB / 15.95 MB, free: 6.215 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.591/3.591, allocations: 341.5 MB / 358.2 MB, free: 12.64 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.003596/0.003596, allocations: 217.2 kB / 397.9 MB, free: 4.984 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.6384/0.6384, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1282, allocations: 48.7 MB / 0.6068 GB, free: 4.645 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.3341/0.4623, allocations: 26.94 MB / 0.6331 GB, free: 76.59 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008976/0.4713, allocations: 4.334 MB / 0.6373 GB, free: 73.57 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/0.4727, allocations: 26.41 kB / 0.6373 GB, free: 73.56 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.4738, allocations: 228.5 kB / 0.6375 GB, free: 73.44 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.006282/0.4801, allocations: 1.623 MB / 0.6391 GB, free: 72.74 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004897/0.485, allocations: 1.238 MB / 0.6403 GB, free: 72.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004078/0.4891, allocations: 2.232 MB / 0.6425 GB, free: 71.42 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.4904, allocations: 397.5 kB / 0.6429 GB, free: 71.3 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008006/0.4984, allocations: 3.29 MB / 0.6461 GB, free: 69.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003392/0.5018, allocations: 1.37 MB / 0.6474 GB, free: 69.39 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002796/0.5022, allocations: 31.06 kB / 0.6475 GB, free: 69.39 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004423/0.5066, allocations: 1.386 MB / 0.6488 GB, free: 68.83 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006161/0.5073, allocations: 234 kB / 0.649 GB, free: 68.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004342/0.5077, allocations: 167.5 kB / 0.6492 GB, free: 68.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00255/0.5103, allocations: 1.056 MB / 0.6502 GB, free: 67.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.5103, allocations: 4 kB / 0.6502 GB, free: 67.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5103, allocations: 0 / 0.6502 GB, free: 67.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.5104, allocations: 0 / 0.6502 GB, free: 67.91 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.002932/0.5133, allocations: 0.998 MB / 0.6512 GB, free: 67.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.5134, allocations: 9.438 kB / 0.6512 GB, free: 67.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/0.5147, allocations: 142.3 kB / 0.6514 GB, free: 67.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.5159, allocations: 0.5092 MB / 0.6519 GB, free: 66.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.5161, allocations: 100.9 kB / 0.652 GB, free: 66.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.5162, allocations: 52.45 kB / 0.652 GB, free: 66.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/0.5183, allocations: 0.8296 MB / 0.6528 GB, free: 65.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/0.5183, allocations: 11.89 kB / 0.6528 GB, free: 65.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.5185, allocations: 24 kB / 0.6528 GB, free: 65.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.661e-05/0.5186, allocations: 32.98 kB / 0.6529 GB, free: 65.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.5203, allocations: 0.6048 MB / 0.6535 GB, free: 65.02 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.006655/0.527, allocations: 4.879 MB / 0.6582 GB, free: 59.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.528, allocations: 313.8 kB / 0.6585 GB, free: 59.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003195/0.5284, allocations: 136.8 kB / 0.6587 GB, free: 59.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005448/0.5289, allocations: 0.6101 MB / 0.6593 GB, free: 58.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.529, allocations: 38.56 kB / 0.6593 GB, free: 58.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 4.148e-06/0.529, allocations: 0 / 0.6593 GB, free: 58.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=35): time 0.005728/0.5347, allocations: 1.505 MB / 0.6608 GB, free: 56.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.5348, allocations: 132.5 kB / 0.6609 GB, free: 56.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009873/0.5358, allocations: 0.6368 MB / 0.6615 GB, free: 56.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.732e-05/0.5359, allocations: 33.7 kB / 0.6615 GB, free: 56.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.5362, allocations: 410.2 kB / 0.6619 GB, free: 55.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.5363, allocations: 126.3 kB / 0.6621 GB, free: 55.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.5364, allocations: 16 kB / 0.6621 GB, free: 55.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.5365, allocations: 374.8 kB / 0.6624 GB, free: 55.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005124/0.537, allocations: 205.9 kB / 0.6626 GB, free: 54.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006625/0.5377, allocations: 0.5232 MB / 0.6631 GB, free: 54.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006574/0.5384, allocations: 311.8 kB / 0.6634 GB, free: 53.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.5384, allocations: 4 kB / 0.6634 GB, free: 53.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002085/0.5405, allocations: 0.8894 MB / 0.6643 GB, free: 53.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.5405, allocations: 8 kB / 0.6643 GB, free: 53.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.5406, allocations: 12 kB / 0.6643 GB, free: 53.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001909/0.5425, allocations: 286.6 kB / 0.6646 GB, free: 52.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007268/0.5432, allocations: 127.8 kB / 0.6647 GB, free: 52.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.5447, allocations: 1.374 MB / 0.6661 GB, free: 51.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009391/0.5456, allocations: 39.89 kB / 0.6661 GB, free: 51.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.826e-05/0.5458, allocations: 47.98 kB / 0.6661 GB, free: 51.14 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.0004497/0.5462, allocations: 259.5 kB / 0.6664 GB, free: 50.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.5464, allocations: 63.25 kB / 0.6665 GB, free: 50.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002073/0.5484, allocations: 0.617 MB / 0.6671 GB, free: 50.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.5485, allocations: 3.984 kB / 0.6671 GB, free: 50.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.5485, allocations: 3.938 kB / 0.6671 GB, free: 50.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000415/0.5489, allocations: 192.2 kB / 0.6672 GB, free: 49.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/0.5491, allocations: 12 kB / 0.6673 GB, free: 49.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005875/0.5497, allocations: 19.92 kB / 0.6673 GB, free: 49.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.457e-05/0.5498, allocations: 23.97 kB / 0.6673 GB, free: 49.93 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002005/0.5518, allocations: 0.5956 MB / 0.6679 GB, free: 49.32 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001356/0.5532, allocations: 0.7416 MB / 0.6686 GB, free: 48.56 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003544/0.5536, allocations: 151.9 kB / 0.6688 GB, free: 48.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007171/0.5543, allocations: 439 kB / 0.6692 GB, free: 47.99 MB / 362.7 MB Notification: Performance of Backend: time 1.473e-06/0.5543, allocations: 0 / 0.6692 GB, free: 47.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00322/0.5575, allocations: 0.8351 MB / 0.67 GB, free: 47.17 MB / 362.7 MB Notification: Performance of SimCode: time 0.003944/0.5615, allocations: 2.136 MB / 0.6721 GB, free: 45 MB / 362.7 MB Notification: Performance of Templates: time 0.03888/0.6005, allocations: 15.71 MB / 0.6874 GB, free: 29.66 MB / 362.7 MB