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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.284/2.284, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.939e-05/1.957e-05, allocations: 4 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2773, allocations: 54.86 MB / 358.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.404/6.682, allocations: 2.595 GB / 2.945 GB, free: 109.4 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/6.682, allocations: 83.33 kB / 2.945 GB, free: 109.4 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.546/8.228, allocations: 351.5 MB / 3.288 GB, free: 57.89 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.36e-06/8.228, allocations: 0 / 3.288 GB, free: 57.89 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.843e-05/8.228, allocations: 15.91 kB / 3.288 GB, free: 57.89 MB / 474.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.005989/8.234, allocations: 1.649 MB / 3.29 GB, free: 57.18 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/8.234, allocations: 12.95 kB / 3.29 GB, free: 57.18 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004633/8.239, allocations: 447.4 kB / 3.29 GB, free: 57.14 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/8.24, allocations: 0.5732 MB / 3.291 GB, free: 56.92 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/8.241, allocations: 94.28 kB / 3.291 GB, free: 56.85 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/8.241, allocations: 35.89 kB / 3.291 GB, free: 56.85 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001621/8.242, allocations: 0.737 MB / 3.292 GB, free: 56.85 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/8.244, allocations: 0.8253 MB / 3.293 GB, free: 56.66 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/8.244, allocations: 0 / 3.293 GB, free: 56.66 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/8.244, allocations: 0 / 3.293 GB, free: 56.66 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.251e-05/8.244, allocations: 31.94 kB / 3.293 GB, free: 56.66 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.0959/8.34, allocations: 36.88 MB / 3.329 GB, free: 37.98 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/8.341, allocations: 494 kB / 3.329 GB, free: 37.95 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004615/8.342, allocations: 250.1 kB / 3.329 GB, free: 37.94 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07405/8.416, allocations: 31.52 MB / 3.36 GB, free: 34.31 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.003e-05/8.416, allocations: 34.12 kB / 3.36 GB, free: 34.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 3.727e-06/8.416, allocations: 0 / 3.36 GB, free: 34.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=54): time 0.01947/8.435, allocations: 3.275 MB / 3.363 GB, free: 33.92 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.166e-05/8.435, allocations: 109.7 kB / 3.363 GB, free: 33.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006235/8.436, allocations: 413.2 kB / 3.364 GB, free: 33.67 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001232/8.436, allocations: 25.7 kB / 3.364 GB, free: 33.64 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/8.437, allocations: 406 kB / 3.364 GB, free: 33.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/8.437, allocations: 178.5 kB / 3.364 GB, free: 33.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.324e-05/8.437, allocations: 0 / 3.364 GB, free: 33.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001725/8.437, allocations: 344.1 kB / 3.365 GB, free: 32.93 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007367/8.438, allocations: 403.6 kB / 3.365 GB, free: 32.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008736/8.439, allocations: 0.6077 MB / 3.366 GB, free: 32.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002763/8.441, allocations: 0.6916 MB / 3.366 GB, free: 32.63 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.199e-06/8.441, allocations: 0 / 3.366 GB, free: 32.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.005027/8.446, allocations: 1.589 MB / 3.368 GB, free: 32.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001269/8.448, allocations: 2.693 MB / 3.371 GB, free: 29.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/8.448, allocations: 7.719 kB / 3.371 GB, free: 29.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002223/8.45, allocations: 1.082 MB / 3.372 GB, free: 29.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008002/8.451, allocations: 150.1 kB / 3.372 GB, free: 29.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005324/8.456, allocations: 2.893 MB / 3.375 GB, free: 28.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/8.458, allocations: 94.81 kB / 3.375 GB, free: 28.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/8.458, allocations: 45.3 kB / 3.375 GB, free: 28.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/8.458, allocations: 3.562 kB / 3.375 GB, free: 28.07 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003335/8.461, allocations: 0.9644 MB / 3.376 GB, free: 28.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/8.461, allocations: 6.844 kB / 3.376 GB, free: 28.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006795/8.462, allocations: 259.4 kB / 3.376 GB, free: 27.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/8.463, allocations: 188 kB / 3.376 GB, free: 27.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004385/8.468, allocations: 4.268 MB / 3.38 GB, free: 24.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008413/8.468, allocations: 69.53 kB / 3.38 GB, free: 24.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.957e-05/8.469, allocations: 39.78 kB / 3.38 GB, free: 24.38 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.Volume.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real $DER.Volume.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * 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.000389/8.469, allocations: 129.3 kB / 3.38 GB, free: 24.27 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/8.469, allocations: 59.52 kB / 3.381 GB, free: 24.24 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007933/8.477, allocations: 4.212 MB / 3.385 GB, free: 23.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.036e-05/8.477, allocations: 42.41 kB / 3.385 GB, free: 23.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.28e-06/8.477, allocations: 0 / 3.385 GB, free: 23.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.669e-05/8.477, allocations: 3.938 kB / 3.385 GB, free: 23.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/8.488, allocations: 5.765 MB / 3.39 GB, free: 23.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/8.488, allocations: 4 kB / 3.39 GB, free: 23.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004166/8.489, allocations: 66.3 kB / 3.39 GB, free: 23.15 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004432/8.493, allocations: 2.494 MB / 3.393 GB, free: 21.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/8.493, allocations: 8 kB / 3.393 GB, free: 21.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006499/8.5, allocations: 4.577 MB / 3.397 GB, free: 18.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.485e-06/8.5, allocations: 0 / 3.397 GB, free: 18.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005514/8.505, allocations: 3.231 MB / 3.4 GB, free: 15.35 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006507/8.506, allocations: 331.3 kB / 3.401 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/8.506, allocations: 3.938 kB / 3.401 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009577/8.507, allocations: 76.62 kB / 3.401 GB, free: 14.99 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/8.507, allocations: 63 kB / 3.401 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.026e-05/8.507, allocations: 35.36 kB / 3.401 GB, free: 14.92 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000526/8.508, allocations: 354.9 kB / 3.401 GB, free: 14.61 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.31e-07/8.508, allocations: 0 / 3.401 GB, free: 14.61 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005431/8.513, allocations: 1.362 MB / 3.403 GB, free: 13.28 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: 24 ($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,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.008377/8.522, allocations: 1.736 MB / 3.404 GB, free: 11.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00514/8.527, allocations: 2.125 MB / 3.406 GB, free: 9.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.463e-06/8.527, allocations: 320 / 3.406 GB, free: 9.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002886/8.53, allocations: 1.115 MB / 3.407 GB, free: 8.992 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001753/8.532, allocations: 260.5 kB / 3.408 GB, free: 8.812 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003353/8.535, allocations: 1.98 MB / 3.41 GB, free: 7.027 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008763/8.536, allocations: 1.159 MB / 3.411 GB, free: 6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002238/8.536, allocations: 59.44 kB / 3.411 GB, free: 5.941 MB / 490.7 MB Notification: Performance of SimCode: time 1.666e-06/8.536, allocations: 0 / 3.411 GB, free: 5.941 MB / 490.7 MB Notification: Performance of Templates: time 0.3634/8.9, allocations: 47.13 MB / 3.457 GB, free: 83.52 MB / 0.4948 GB