Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") Notification: Performance of loadModel(ModelicaTest): time 2.015/2.015, allocations: 209.2 MB / 224.8 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004405/0.0004406, allocations: 12 kB / 282.6 MB, free: 9.711 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08806/0.08853, allocations: 48.7 MB / 331.3 MB, free: 8.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.256/6.345, allocations: 2.485 GB / 2.809 GB, free: 51.52 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/6.345, allocations: 87.08 kB / 2.809 GB, free: 51.47 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.479/7.824, allocations: 348.1 MB / 3.149 GB, free: 30.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.761e-06/7.824, allocations: 0 / 3.149 GB, free: 30.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.367e-05/7.824, allocations: 16 kB / 3.149 GB, free: 30.79 MB / 426.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.006176/7.83, allocations: 1.684 MB / 3.151 GB, free: 29.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/7.83, allocations: 12.03 kB / 3.151 GB, free: 29.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004458/7.835, allocations: 400.9 kB / 3.151 GB, free: 28.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/7.836, allocations: 0.5845 MB / 3.152 GB, free: 28.39 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/7.837, allocations: 113.3 kB / 3.152 GB, free: 28.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/7.837, allocations: 56 kB / 3.152 GB, free: 28.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003506/7.84, allocations: 1.157 MB / 3.153 GB, free: 27.24 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/7.84, allocations: 0 / 3.153 GB, free: 27.24 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/7.841, allocations: 32.33 kB / 3.153 GB, free: 27.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.271e-05/7.841, allocations: 37.25 kB / 3.153 GB, free: 27.17 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003545/7.844, allocations: 1.076 MB / 3.154 GB, free: 26.11 MB / 426.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.007397/7.852, allocations: 4.951 MB / 3.159 GB, free: 20.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003002/7.855, allocations: 0.8332 MB / 3.16 GB, free: 19.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3364/8.191, allocations: 32.77 MB / 3.192 GB, free: 58.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/8.191, allocations: 40.25 kB / 3.192 GB, free: 58 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 3.28e-06/8.191, allocations: 0 / 3.192 GB, free: 58 MB / 442.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.03062/8.222, allocations: 5.423 MB / 3.197 GB, free: 57.31 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/8.222, allocations: 115 kB / 3.197 GB, free: 57.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009107/8.223, allocations: 496.5 kB / 3.198 GB, free: 57.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001552/8.223, allocations: 35.08 kB / 3.198 GB, free: 57.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002251/8.223, allocations: 391 kB / 3.198 GB, free: 56.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/8.223, allocations: 201 kB / 3.198 GB, free: 56.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.888e-05/8.224, allocations: 13.81 kB / 3.198 GB, free: 56.71 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.302e-05/8.224, allocations: 345.5 kB / 3.198 GB, free: 56.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/8.225, allocations: 483.7 kB / 3.199 GB, free: 56.39 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/8.227, allocations: 0.7099 MB / 3.2 GB, free: 56.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/8.229, allocations: 0.5207 MB / 3.2 GB, free: 56.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.898e-06/8.229, allocations: 1.25 kB / 3.2 GB, free: 56.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.005148/8.234, allocations: 1.61 MB / 3.202 GB, free: 56.03 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005583/8.234, allocations: 2.7 MB / 3.204 GB, free: 53.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/8.234, allocations: 9.922 kB / 3.204 GB, free: 53.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00353/8.238, allocations: 1.189 MB / 3.205 GB, free: 53.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007658/8.239, allocations: 154.1 kB / 3.206 GB, free: 53.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004609/8.243, allocations: 2.795 MB / 3.208 GB, free: 51.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/8.245, allocations: 100.1 kB / 3.208 GB, free: 51.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/8.245, allocations: 43.22 kB / 3.209 GB, free: 51.63 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/8.245, allocations: 4.094 kB / 3.209 GB, free: 51.63 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004744/8.25, allocations: 1.444 MB / 3.21 GB, free: 51.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/8.25, allocations: 6.625 kB / 3.21 GB, free: 51.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003096/8.253, allocations: 1.026 MB / 3.211 GB, free: 51.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009687/8.254, allocations: 173.7 kB / 3.211 GB, free: 51.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006189/8.26, allocations: 5.064 MB / 3.216 GB, free: 47.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/8.261, allocations: 89.75 kB / 3.216 GB, free: 47.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/8.261, allocations: 50.84 kB / 3.216 GB, free: 47.85 MB / 442.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.0006665/8.262, allocations: 326.8 kB / 3.216 GB, free: 47.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/8.262, allocations: 69.36 kB / 3.217 GB, free: 47.63 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008398/8.271, allocations: 4.534 MB / 3.221 GB, free: 47.28 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.754e-05/8.271, allocations: 46.61 kB / 3.221 GB, free: 47.28 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.307e-06/8.271, allocations: 0.75 kB / 3.221 GB, free: 47.28 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.668e-05/8.271, allocations: 6.594 kB / 3.221 GB, free: 47.28 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01222/8.283, allocations: 6.475 MB / 3.227 GB, free: 46.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/8.283, allocations: 5.094 kB / 3.227 GB, free: 46.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004987/8.284, allocations: 87.58 kB / 3.227 GB, free: 46.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005146/8.289, allocations: 2.266 MB / 3.23 GB, free: 46.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001545/8.289, allocations: 20.11 kB / 3.23 GB, free: 46.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006194/8.295, allocations: 4.074 MB / 3.234 GB, free: 45.06 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/8.295, allocations: 5.297 kB / 3.234 GB, free: 45.06 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006341/8.302, allocations: 3.401 MB / 3.237 GB, free: 44.69 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008297/8.302, allocations: 373.3 kB / 3.237 GB, free: 44.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/8.303, allocations: 17.03 kB / 3.237 GB, free: 44.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/8.304, allocations: 90.08 kB / 3.237 GB, free: 44.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/8.304, allocations: 74.7 kB / 3.238 GB, free: 44.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.54e-05/8.304, allocations: 26.05 kB / 3.238 GB, free: 44.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007171/8.305, allocations: 474 kB / 3.238 GB, free: 44.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.89e-07/8.305, allocations: 0 / 3.238 GB, free: 44.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006098/8.311, allocations: 1.423 MB / 3.239 GB, free: 44.38 MB / 442.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.008716/8.32, allocations: 1.672 MB / 3.241 GB, free: 44.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00923/8.329, allocations: 2.708 MB / 3.244 GB, free: 43.93 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.492e-06/8.329, allocations: 0 / 3.244 GB, free: 43.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004058/8.333, allocations: 1.313 MB / 3.245 GB, free: 43.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/8.335, allocations: 297.4 kB / 3.245 GB, free: 43.89 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1889/8.524, allocations: 77.47 MB / 3.321 GB, free: 24.88 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007037/8.525, allocations: 1.217 MB / 3.322 GB, free: 23.81 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/8.525, allocations: 62.91 kB / 3.322 GB, free: 23.75 MB / 442.7 MB Notification: Performance of SimCode: time 1.603e-06/8.525, allocations: 1.594 kB / 3.322 GB, free: 23.75 MB / 442.7 MB Notification: Performance of Templates: time 0.3388/8.864, allocations: 48.92 MB / 3.37 GB, free: 69.55 MB / 458.7 MB