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.134/2.134, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.672e-05/2.692e-05, allocations: 4 kB / 309.7 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3188, allocations: 54.85 MB / 364.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.454/6.773, allocations: 2.596 GB / 2.952 GB, free: 3.133 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/6.773, allocations: 83.7 kB / 2.952 GB, free: 3.09 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.506/8.279, allocations: 355.4 MB / 3.299 GB, free: 41.96 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.727e-06/8.279, allocations: 0 / 3.299 GB, free: 41.96 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.558e-05/8.279, allocations: 19.94 kB / 3.299 GB, free: 41.95 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.006146/8.286, allocations: 1.649 MB / 3.301 GB, free: 40.26 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/8.286, allocations: 12.03 kB / 3.301 GB, free: 40.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004606/8.29, allocations: 438.3 kB / 3.301 GB, free: 39.83 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/8.292, allocations: 0.5843 MB / 3.302 GB, free: 39.21 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/8.292, allocations: 112.7 kB / 3.302 GB, free: 39.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/8.292, allocations: 67.84 kB / 3.302 GB, free: 39.03 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003147/8.295, allocations: 1.132 MB / 3.303 GB, free: 37.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/8.295, allocations: 3.938 kB / 3.303 GB, free: 37.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/8.296, allocations: 27.83 kB / 3.303 GB, free: 37.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.642e-05/8.296, allocations: 37.3 kB / 3.303 GB, free: 37.78 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002936/8.299, allocations: 1.006 MB / 3.304 GB, free: 36.78 MB / 490.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.00717/8.306, allocations: 4.952 MB / 3.309 GB, free: 31.49 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002451/8.308, allocations: 0.8001 MB / 3.31 GB, free: 30.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005337/8.309, allocations: 282.8 kB / 3.31 GB, free: 30.41 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3531/8.662, allocations: 32.91 MB / 3.342 GB, free: 61.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/8.662, allocations: 41.41 kB / 3.342 GB, free: 61.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=46): time 3.993e-06/8.662, allocations: 0 / 3.342 GB, free: 61.14 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.02332/8.685, allocations: 4.069 MB / 3.346 GB, free: 60.92 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/8.685, allocations: 111.2 kB / 3.346 GB, free: 60.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000799/8.686, allocations: 494.1 kB / 3.347 GB, free: 60.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001158/8.686, allocations: 39.33 kB / 3.347 GB, free: 60.64 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/8.687, allocations: 386.6 kB / 3.347 GB, free: 60.41 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002117/8.687, allocations: 200.5 kB / 3.347 GB, free: 60.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.014e-05/8.687, allocations: 14.88 kB / 3.347 GB, free: 60.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.387e-05/8.687, allocations: 342.4 kB / 3.348 GB, free: 60 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008258/8.688, allocations: 418.2 kB / 3.348 GB, free: 60 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009949/8.689, allocations: 0.632 MB / 3.349 GB, free: 59.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009341/8.69, allocations: 461 kB / 3.349 GB, free: 59.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.24e-06/8.69, allocations: 4.625 kB / 3.349 GB, free: 59.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003346/8.693, allocations: 1.404 MB / 3.35 GB, free: 59.64 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000564/8.694, allocations: 2.705 MB / 3.353 GB, free: 56.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/8.694, allocations: 6.781 kB / 3.353 GB, free: 56.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002958/8.697, allocations: 1.098 MB / 3.354 GB, free: 56.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008093/8.698, allocations: 147.9 kB / 3.354 GB, free: 56.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00409/8.702, allocations: 2.664 MB / 3.357 GB, free: 55.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/8.703, allocations: 97.42 kB / 3.357 GB, free: 55.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001599/8.703, allocations: 43.69 kB / 3.357 GB, free: 55.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/8.703, allocations: 4.938 kB / 3.357 GB, free: 55.25 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00325/8.707, allocations: 1.268 MB / 3.358 GB, free: 55.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/8.707, allocations: 8.188 kB / 3.358 GB, free: 55.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002301/8.709, allocations: 0.9642 MB / 3.359 GB, free: 55.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009008/8.71, allocations: 169.4 kB / 3.359 GB, free: 55.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005562/8.716, allocations: 4.944 MB / 3.364 GB, free: 51.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/8.717, allocations: 89.48 kB / 3.364 GB, free: 51.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001395/8.717, allocations: 43.66 kB / 3.364 GB, free: 51.47 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 () * 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.000352/8.717, allocations: 157 kB / 3.365 GB, free: 51.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002444/8.718, allocations: 66.28 kB / 3.365 GB, free: 51.33 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007782/8.725, allocations: 4.691 MB / 3.369 GB, free: 50.97 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.156e-05/8.725, allocations: 54.44 kB / 3.369 GB, free: 50.96 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.906e-06/8.725, allocations: 0 / 3.369 GB, free: 50.96 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/8.726, allocations: 7.906 kB / 3.369 GB, free: 50.96 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00944/8.735, allocations: 6.404 MB / 3.375 GB, free: 50.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.235e-06/8.735, allocations: 0 / 3.375 GB, free: 50.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004377/8.735, allocations: 85.81 kB / 3.376 GB, free: 50.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004161/8.74, allocations: 2.505 MB / 3.378 GB, free: 50.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001233/8.74, allocations: 14.75 kB / 3.378 GB, free: 50.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004653/8.744, allocations: 4.032 MB / 3.382 GB, free: 48.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.551e-06/8.745, allocations: 2.438 kB / 3.382 GB, free: 48.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00467/8.749, allocations: 3.299 MB / 3.385 GB, free: 48.33 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007115/8.75, allocations: 375.3 kB / 3.386 GB, free: 48.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/8.75, allocations: 16.22 kB / 3.386 GB, free: 48.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/8.751, allocations: 84.14 kB / 3.386 GB, free: 48.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/8.751, allocations: 78.05 kB / 3.386 GB, free: 48.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-05/8.752, allocations: 31.38 kB / 3.386 GB, free: 48.16 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006671/8.752, allocations: 463.4 kB / 3.386 GB, free: 48.06 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.25e-07/8.752, allocations: 0 / 3.386 GB, free: 48.06 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005718/8.758, allocations: 1.432 MB / 3.388 GB, free: 48.05 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 () * 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.008364/8.766, allocations: 1.687 MB / 3.389 GB, free: 47.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006614/8.773, allocations: 2.481 MB / 3.392 GB, free: 47.62 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.262e-06/8.773, allocations: 2.844 kB / 3.392 GB, free: 47.62 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003009/8.776, allocations: 1.245 MB / 3.393 GB, free: 47.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/8.778, allocations: 290.9 kB / 3.393 GB, free: 47.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1744/8.952, allocations: 77.42 MB / 3.469 GB, free: 35.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000712/8.953, allocations: 1.218 MB / 3.47 GB, free: 34.28 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/8.954, allocations: 63.19 kB / 3.47 GB, free: 34.22 MB / 490.7 MB Notification: Performance of SimCode: time 1.78e-06/8.954, allocations: 0 / 3.47 GB, free: 34.22 MB / 490.7 MB Notification: Performance of Templates: time 0.06865/9.022, allocations: 48.85 MB / 3.518 GB, free: 13.09 MB / 0.4948 GB