Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.portsData.1..diameter|Volume.portsData.1..height|Volume.portsData.1..zeta_out|Volume.portsData.1..zeta_in|Volume.portsData.2..diameter|Volume.portsData.2..height|Volume.portsData.2..zeta_out|Volume.portsData.2..zeta_in|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_internal.1.|Volume.portsData_diameter_internal.2.|Volume.portsData_height_internal.1.|Volume.portsData_height_internal.2.|Volume.portsData_zeta_in_internal.1.|Volume.portsData_zeta_in_internal.2.|Volume.portsData_zeta_out_internal.1.|Volume.portsData_zeta_out_internal.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.|FlowSource.ports.1..m_flow|FlowSource.ports.1..p|FlowSource.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Step1.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") Notification: Performance of loadModel(ModelicaTest): time 2.115/2.115, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006727/0.0006729, allocations: 15.98 kB / 314.4 MB, free: 9.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2897, allocations: 54.86 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.197/6.487, allocations: 2.596 GB / 2.957 GB, free: 147.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/6.487, allocations: 88.05 kB / 2.957 GB, free: 147.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.261/7.748, allocations: 356.4 MB / 3.305 GB, free: 26.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.217e-06/7.748, allocations: 0 / 3.305 GB, free: 26.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.707e-05/7.748, allocations: 16 kB / 3.305 GB, free: 26.39 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.006188/7.754, allocations: 1.718 MB / 3.306 GB, free: 24.63 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/7.754, allocations: 11.97 kB / 3.306 GB, free: 24.62 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004527/7.759, allocations: 439.9 kB / 3.307 GB, free: 24.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/7.76, allocations: 0.5868 MB / 3.307 GB, free: 23.58 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/7.76, allocations: 119.6 kB / 3.308 GB, free: 23.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/7.76, allocations: 52 kB / 3.308 GB, free: 23.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003321/7.764, allocations: 1.151 MB / 3.309 GB, free: 22.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/7.764, allocations: 7.922 kB / 3.309 GB, free: 22.19 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/7.764, allocations: 31.44 kB / 3.309 GB, free: 22.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.582e-05/7.764, allocations: 33.31 kB / 3.309 GB, free: 22.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003437/7.767, allocations: 1.074 MB / 3.31 GB, free: 21.05 MB / 490.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.007015/7.775, allocations: 4.931 MB / 3.315 GB, free: 15.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002938/7.778, allocations: 0.8416 MB / 3.315 GB, free: 14.9 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3614/8.139, allocations: 32.79 MB / 3.348 GB, free: 52.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/8.139, allocations: 36.78 kB / 3.348 GB, free: 52.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=46): time 3.565e-06/8.139, allocations: 5.625 kB / 3.348 GB, free: 52.07 MB / 490.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: Volume.medium.h Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=59): time 0.03102/8.17, allocations: 5.42 MB / 3.353 GB, free: 51.38 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/8.17, allocations: 114.1 kB / 3.353 GB, free: 51.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007977/8.171, allocations: 497.7 kB / 3.353 GB, free: 51.14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001556/8.171, allocations: 38.52 kB / 3.353 GB, free: 51.11 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/8.171, allocations: 388.2 kB / 3.354 GB, free: 50.88 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000218/8.172, allocations: 201.9 kB / 3.354 GB, free: 50.78 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.464e-05/8.172, allocations: 15.97 kB / 3.354 GB, free: 50.78 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.148e-05/8.172, allocations: 347.7 kB / 3.354 GB, free: 50.46 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/8.173, allocations: 491.9 kB / 3.355 GB, free: 50.46 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/8.175, allocations: 0.7113 MB / 3.356 GB, free: 50.19 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/8.176, allocations: 0.5209 MB / 3.356 GB, free: 50.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.876e-06/8.176, allocations: 3.312 kB / 3.356 GB, free: 50.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004828/8.181, allocations: 1.596 MB / 3.358 GB, free: 50.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005533/8.182, allocations: 2.711 MB / 3.36 GB, free: 47.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/8.182, allocations: 6.781 kB / 3.36 GB, free: 47.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003258/8.185, allocations: 1.198 MB / 3.361 GB, free: 47.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007596/8.186, allocations: 147.8 kB / 3.362 GB, free: 47.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004813/8.191, allocations: 2.795 MB / 3.364 GB, free: 45.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/8.192, allocations: 93.81 kB / 3.364 GB, free: 45.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/8.192, allocations: 45.34 kB / 3.364 GB, free: 45.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/8.192, allocations: 3.469 kB / 3.364 GB, free: 45.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004487/8.197, allocations: 1.444 MB / 3.366 GB, free: 45.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/8.197, allocations: 3.969 kB / 3.366 GB, free: 45.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00276/8.2, allocations: 1.034 MB / 3.367 GB, free: 45.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008584/8.201, allocations: 164.1 kB / 3.367 GB, free: 45.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005881/8.206, allocations: 5.073 MB / 3.372 GB, free: 41.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/8.208, allocations: 81.95 kB / 3.372 GB, free: 41.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/8.208, allocations: 46.03 kB / 3.372 GB, free: 41.92 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 9 (Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase,Volume.regularFlow[2],Volume.regularFlow[1],Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 71 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 7,2 1,3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0006354/8.208, allocations: 334.5 kB / 3.372 GB, free: 41.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/8.209, allocations: 64.56 kB / 3.372 GB, free: 41.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007745/8.216, allocations: 4.532 MB / 3.377 GB, free: 41.36 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-05/8.216, allocations: 47.55 kB / 3.377 GB, free: 41.36 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.901e-06/8.217, allocations: 10.11 kB / 3.377 GB, free: 41.35 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/8.217, allocations: 9.047 kB / 3.377 GB, free: 41.35 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01113/8.228, allocations: 6.478 MB / 3.383 GB, free: 40.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/8.228, allocations: 0 / 3.383 GB, free: 40.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004766/8.228, allocations: 89 kB / 3.383 GB, free: 40.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004993/8.233, allocations: 2.262 MB / 3.386 GB, free: 40.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/8.233, allocations: 21 kB / 3.386 GB, free: 40.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006095/8.24, allocations: 4.082 MB / 3.39 GB, free: 39.13 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.018e-06/8.24, allocations: 1.688 kB / 3.39 GB, free: 39.13 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006358/8.246, allocations: 3.402 MB / 3.393 GB, free: 38.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007312/8.247, allocations: 371.6 kB / 3.393 GB, free: 38.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/8.247, allocations: 19.59 kB / 3.393 GB, free: 38.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/8.248, allocations: 88.27 kB / 3.393 GB, free: 38.58 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001925/8.248, allocations: 78.61 kB / 3.393 GB, free: 38.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.66e-05/8.248, allocations: 28.08 kB / 3.393 GB, free: 38.58 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000698/8.249, allocations: 468.7 kB / 3.394 GB, free: 38.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.037e-06/8.249, allocations: 0 / 3.394 GB, free: 38.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005735/8.255, allocations: 1.432 MB / 3.395 GB, free: 38.48 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 29 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 8,2 1,3 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.008414/8.263, allocations: 1.679 MB / 3.397 GB, free: 38.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009042/8.272, allocations: 2.699 MB / 3.4 GB, free: 38.05 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.876e-06/8.272, allocations: 7.5 kB / 3.4 GB, free: 38.05 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00349/8.276, allocations: 1.318 MB / 3.401 GB, free: 38.01 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/8.278, allocations: 292.6 kB / 3.401 GB, free: 38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.184/8.462, allocations: 78.75 MB / 3.478 GB, free: 16.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007089/8.463, allocations: 1.21 MB / 3.479 GB, free: 15.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/8.463, allocations: 62.3 kB / 3.479 GB, free: 15.74 MB / 490.7 MB Notification: Performance of SimCode: time 1.975e-06/8.463, allocations: 4 kB / 3.479 GB, free: 15.74 MB / 490.7 MB Notification: Performance of Templates: time 0.3679/8.831, allocations: 49.12 MB / 3.527 GB, free: 75.25 MB / 0.4948 GB