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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.001/2.001, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.279e-05/1.288e-05, allocations: 0 / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2676, allocations: 48.68 MB / 320 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.867/6.135, allocations: 2.485 GB / 2.797 GB, free: 21.48 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/6.135, allocations: 80.89 kB / 2.797 GB, free: 21.44 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.447/7.581, allocations: 343.4 MB / 3.133 GB, free: 10.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.18e-06/7.582, allocations: 0 / 3.133 GB, free: 10.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.274e-05/7.582, allocations: 12 kB / 3.133 GB, free: 10.88 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.00546/7.587, allocations: 1.621 MB / 3.134 GB, free: 9.223 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/7.587, allocations: 8.031 kB / 3.134 GB, free: 9.215 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008165/7.595, allocations: 410.6 kB / 3.135 GB, free: 8.816 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/7.598, allocations: 0.574 MB / 3.135 GB, free: 8.215 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001997/7.598, allocations: 92.7 kB / 3.135 GB, free: 8.109 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002365/7.598, allocations: 32 kB / 3.135 GB, free: 8.078 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002891/7.601, allocations: 0.7405 MB / 3.136 GB, free: 7.344 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002745/7.604, allocations: 0.8216 MB / 3.137 GB, free: 6.465 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.992e-05/7.604, allocations: 3.938 kB / 3.137 GB, free: 6.461 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/7.604, allocations: 0 / 3.137 GB, free: 6.461 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-05/7.604, allocations: 41.25 kB / 3.137 GB, free: 6.422 MB / 426.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.4064/8.011, allocations: 36.82 MB / 3.173 GB, free: 51.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009673/8.012, allocations: 490.2 kB / 3.173 GB, free: 51.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004325/8.012, allocations: 253 kB / 3.173 GB, free: 51.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07106/8.083, allocations: 31.52 MB / 3.204 GB, free: 33.11 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/8.083, allocations: 40.06 kB / 3.204 GB, free: 33.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=42): time 4.231e-06/8.083, allocations: 4 kB / 3.204 GB, free: 33.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=54): time 0.01972/8.103, allocations: 3.262 MB / 3.207 GB, free: 32.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/8.103, allocations: 109.8 kB / 3.208 GB, free: 32.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006335/8.104, allocations: 409.6 kB / 3.208 GB, free: 32.56 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001203/8.104, allocations: 25.7 kB / 3.208 GB, free: 32.53 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002023/8.104, allocations: 409.3 kB / 3.208 GB, free: 32.29 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/8.104, allocations: 188.1 kB / 3.209 GB, free: 32.19 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.055e-05/8.104, allocations: 0 / 3.209 GB, free: 32.19 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.189e-05/8.104, allocations: 344.5 kB / 3.209 GB, free: 31.88 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000724/8.105, allocations: 398.9 kB / 3.209 GB, free: 31.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000848/8.106, allocations: 0.6142 MB / 3.21 GB, free: 31.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003123/8.109, allocations: 0.6786 MB / 3.211 GB, free: 31.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/8.109, allocations: 3.938 kB / 3.211 GB, free: 31.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.005362/8.115, allocations: 1.581 MB / 3.212 GB, free: 31.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005443/8.115, allocations: 2.709 MB / 3.215 GB, free: 28.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/8.115, allocations: 3.625 kB / 3.215 GB, free: 28.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002268/8.118, allocations: 1.085 MB / 3.216 GB, free: 28.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007742/8.118, allocations: 143.1 kB / 3.216 GB, free: 28.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004913/8.123, allocations: 2.905 MB / 3.219 GB, free: 27.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/8.125, allocations: 96.23 kB / 3.219 GB, free: 27.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001731/8.125, allocations: 42.16 kB / 3.219 GB, free: 27.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/8.125, allocations: 3.531 kB / 3.219 GB, free: 27.04 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003427/8.128, allocations: 0.9675 MB / 3.22 GB, free: 26.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/8.128, allocations: 10.66 kB / 3.22 GB, free: 26.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006827/8.129, allocations: 248.8 kB / 3.22 GB, free: 26.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/8.13, allocations: 197.3 kB / 3.22 GB, free: 26.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003472/8.134, allocations: 4.265 MB / 3.224 GB, free: 23.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008752/8.135, allocations: 54.34 kB / 3.225 GB, free: 23.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/8.135, allocations: 36.92 kB / 3.225 GB, free: 23.35 MB / 442.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.0003595/8.135, allocations: 148.1 kB / 3.225 GB, free: 23.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/8.135, allocations: 59.75 kB / 3.225 GB, free: 23.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007945/8.143, allocations: 4.195 MB / 3.229 GB, free: 22.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-05/8.143, allocations: 43.47 kB / 3.229 GB, free: 22.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/8.143, allocations: 4 kB / 3.229 GB, free: 22.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/8.143, allocations: 6.188 kB / 3.229 GB, free: 22.9 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/8.154, allocations: 5.756 MB / 3.235 GB, free: 22.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/8.154, allocations: 8 kB / 3.235 GB, free: 22.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003962/8.154, allocations: 71.44 kB / 3.235 GB, free: 22.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004314/8.159, allocations: 2.498 MB / 3.237 GB, free: 22.31 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001156/8.159, allocations: 14.61 kB / 3.237 GB, free: 22.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006351/8.165, allocations: 4.566 MB / 3.241 GB, free: 20.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/8.165, allocations: 0 / 3.241 GB, free: 20.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006015/8.171, allocations: 3.239 MB / 3.245 GB, free: 20.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006526/8.172, allocations: 327.3 kB / 3.245 GB, free: 20.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/8.172, allocations: 3.375 kB / 3.245 GB, free: 20.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/8.173, allocations: 71.28 kB / 3.245 GB, free: 20.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/8.173, allocations: 61.08 kB / 3.245 GB, free: 20.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/8.174, allocations: 24.52 kB / 3.245 GB, free: 20.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005008/8.174, allocations: 356.5 kB / 3.245 GB, free: 20.11 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.39e-07/8.174, allocations: 1.969 kB / 3.245 GB, free: 20.11 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006047/8.18, allocations: 1.355 MB / 3.247 GB, free: 20.11 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: 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.008243/8.188, allocations: 1.733 MB / 3.248 GB, free: 19.87 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005411/8.194, allocations: 2.126 MB / 3.251 GB, free: 19.64 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.646e-06/8.194, allocations: 0 / 3.251 GB, free: 19.64 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00322/8.197, allocations: 1.117 MB / 3.252 GB, free: 19.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/8.199, allocations: 256.4 kB / 3.252 GB, free: 19.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003439/8.203, allocations: 1.987 MB / 3.254 GB, free: 19.18 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006293/8.203, allocations: 1.156 MB / 3.255 GB, free: 18.46 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/8.203, allocations: 59.36 kB / 3.255 GB, free: 18.46 MB / 442.7 MB Notification: Performance of SimCode: time 1.694e-06/8.203, allocations: 0 / 3.255 GB, free: 18.46 MB / 442.7 MB Notification: Performance of Templates: time 0.06607/8.269, allocations: 46.92 MB / 3.301 GB, free: 5.949 MB / 442.7 MB