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.Machines.TestWaterPumpCharacteristics.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.Machines.TestWaterPumpCharacteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Source.ports.2..m_flow|Source.ports.2..p|Source.ports.2..h_outflow|Source.ports.3..m_flow|Source.ports.3..p|Source.ports.3..h_outflow|Source.ports.4..m_flow|Source.ports.4..p|Source.ports.4..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|Sink.ports.2..m_flow|Sink.ports.2..p|Sink.ports.2..h_outflow|Sink.ports.3..m_flow|Sink.ports.3..p|Sink.ports.3..h_outflow|Sink.ports.4..m_flow|Sink.ports.4..p|Sink.ports.4..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|downstreamPressure.y|pumpPolynomial.port_b.m_flow|pumpPolynomial.port_b.p|pumpPolynomial.port_b.h_outflow|pumpQuadraticLinear.port_b.m_flow|pumpQuadraticLinear.port_b.p|pumpQuadraticLinear.port_b.h_outflow|pumpLinear.port_b.m_flow|pumpLinear.port_b.p|pumpLinear.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics") Notification: Performance of loadModel(ModelicaTest): time 2.253/2.253, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.578e-05/1.607e-05, allocations: 4 kB / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2767, allocations: 54.86 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.173/6.45, allocations: 2.595 GB / 2.944 GB, free: 29.37 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/6.45, allocations: 85.58 kB / 2.945 GB, free: 29.29 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.751/10.2, allocations: 0.8061 GB / 3.751 GB, free: 42.85 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.285e-06/10.2, allocations: 2.531 kB / 3.751 GB, free: 42.85 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001383/10.2, allocations: 40.75 kB / 3.751 GB, free: 42.84 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.009809/10.21, allocations: 2.587 MB / 3.753 GB, free: 41.64 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/10.21, allocations: 7.094 kB / 3.753 GB, free: 41.64 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004553/10.22, allocations: 465.3 kB / 3.754 GB, free: 41.56 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0028/10.22, allocations: 0.999 MB / 3.755 GB, free: 41.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/10.22, allocations: 50.66 kB / 3.755 GB, free: 41.23 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002409/10.22, allocations: 74.3 kB / 3.755 GB, free: 41.22 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003059/10.22, allocations: 1.141 MB / 3.756 GB, free: 41.21 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003359/10.23, allocations: 1.375 MB / 3.757 GB, free: 40.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.736e-05/10.23, allocations: 7.656 kB / 3.757 GB, free: 40.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000203/10.23, allocations: 3.562 kB / 3.757 GB, free: 40.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.718e-05/10.23, allocations: 60.3 kB / 3.757 GB, free: 40.84 MB / 0.4948 GB 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.358/10.58, allocations: 133 MB / 3.887 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/10.59, allocations: 0.5765 MB / 3.888 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006858/10.59, allocations: 362.9 kB / 3.888 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007693/10.59, allocations: 4.058 MB / 3.892 GB, free: 6.207 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.17e-05/10.59, allocations: 49.66 kB / 3.892 GB, free: 6.16 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=81): time 3.933e-06/10.59, allocations: 0 / 3.892 GB, free: 6.16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=123): time 0.02249/10.62, allocations: 5.01 MB / 3.897 GB, free: 2.809 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.482e-05/10.62, allocations: 118.2 kB / 3.897 GB, free: 2.668 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/10.62, allocations: 0.6813 MB / 3.898 GB, free: 2.203 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002603/10.62, allocations: 25.7 kB / 3.898 GB, free: 2.172 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005651/10.62, allocations: 0.6969 MB / 3.898 GB, free: 1.676 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005165/10.62, allocations: 403.2 kB / 3.899 GB, free: 1.359 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/10.62, allocations: 0 / 3.899 GB, free: 1.359 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002146/10.62, allocations: 374.1 kB / 3.899 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/10.62, allocations: 0.5266 MB / 3.9 GB, free: 0.75 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3293/10.95, allocations: 0.9404 MB / 3.901 GB, free: 89.46 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003365/10.95, allocations: 0.7146 MB / 3.901 GB, free: 89.45 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.958e-05/10.95, allocations: 4 kB / 3.901 GB, free: 89.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01122/10.96, allocations: 2.447 MB / 3.904 GB, free: 89.32 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001016/10.97, allocations: 5.051 MB / 3.909 GB, free: 84.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.036e-05/10.97, allocations: 13.12 kB / 3.909 GB, free: 84.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007716/10.97, allocations: 1.231 MB / 3.91 GB, free: 84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/10.97, allocations: 250.6 kB / 3.91 GB, free: 84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008842/10.98, allocations: 5.828 MB / 3.916 GB, free: 79.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002873/10.99, allocations: 169.2 kB / 3.916 GB, free: 79.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003565/10.99, allocations: 94.84 kB / 3.916 GB, free: 79.87 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/10.99, allocations: 2.375 kB / 3.916 GB, free: 79.87 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007293/10.99, allocations: 1.843 MB / 3.918 GB, free: 79.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-05/10.99, allocations: 13.5 kB / 3.918 GB, free: 79.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004739/11, allocations: 0.8471 MB / 3.919 GB, free: 79.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/11, allocations: 291.4 kB / 3.919 GB, free: 79.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006494/11.01, allocations: 5.305 MB / 3.924 GB, free: 75.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/11.01, allocations: 158.6 kB / 3.924 GB, free: 75.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002487/11.01, allocations: 76.86 kB / 3.924 GB, free: 75.57 MB / 0.5417 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pumpPolynomial.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pumpPolynomial.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pumpQuadraticLinear.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pumpQuadraticLinear.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pumpLinear.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real $DER.pumpLinear.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 10 (Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase,Source.medium.phase,pumpLinear.monitoring.state_in.phase,pumpQuadraticLinear.monitoring.state_in.phase,pumpPolynomial.monitoring.state_in.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 122 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {2 6,2 8,2 6,2 8,2 6,2 8,2 6,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0006055/11.01, allocations: 173.6 kB / 3.925 GB, free: 75.46 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003871/11.01, allocations: 124.8 kB / 3.925 GB, free: 75.46 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008688/11.02, allocations: 4.056 MB / 3.929 GB, free: 75.21 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.742e-05/11.02, allocations: 35 kB / 3.929 GB, free: 75.21 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/11.02, allocations: 8.719 kB / 3.929 GB, free: 75.21 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-05/11.02, allocations: 7.266 kB / 3.929 GB, free: 75.21 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01417/11.03, allocations: 6.657 MB / 3.935 GB, free: 74.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.859e-05/11.03, allocations: 2.625 kB / 3.935 GB, free: 74.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000884/11.03, allocations: 152.6 kB / 3.935 GB, free: 74.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00722/11.04, allocations: 2.115 MB / 3.937 GB, free: 74.13 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002174/11.04, allocations: 14.27 kB / 3.937 GB, free: 74.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009386/11.05, allocations: 8.524 MB / 3.946 GB, free: 68.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.624e-06/11.05, allocations: 5.281 kB / 3.946 GB, free: 68.63 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007757/11.06, allocations: 3.73 MB / 3.949 GB, free: 68.14 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/11.06, allocations: 392.1 kB / 3.95 GB, free: 67.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003255/11.06, allocations: 0 / 3.95 GB, free: 67.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00189/11.06, allocations: 189 kB / 3.95 GB, free: 67.96 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002967/11.06, allocations: 118.3 kB / 3.95 GB, free: 67.95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001544/11.06, allocations: 57.48 kB / 3.95 GB, free: 67.95 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009521/11.06, allocations: 0.5423 MB / 3.951 GB, free: 67.84 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.07e-07/11.06, allocations: 0 / 3.951 GB, free: 67.84 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008231/11.07, allocations: 1.941 MB / 3.953 GB, free: 67.84 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 19 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 7 {2 6,2 10,2 6,2 6,2 10,2 10,2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01046/11.08, allocations: 2.477 MB / 3.955 GB, free: 67.67 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009469/11.09, allocations: 2.82 MB / 3.958 GB, free: 67.63 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.803e-06/11.09, allocations: 6.062 kB / 3.958 GB, free: 67.63 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003967/11.1, allocations: 1.427 MB / 3.959 GB, free: 67.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003047/11.1, allocations: 470.7 kB / 3.96 GB, free: 67.49 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00586/11.11, allocations: 2.567 MB / 3.962 GB, free: 66.85 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009858/11.11, allocations: 1.383 MB / 3.963 GB, free: 66.13 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004616/11.11, allocations: 110.9 kB / 3.964 GB, free: 66.12 MB / 0.5417 GB Notification: Performance of SimCode: time 1.923e-06/11.11, allocations: 0 / 3.964 GB, free: 66.12 MB / 0.5417 GB Notification: Performance of Templates: time 0.1274/11.23, allocations: 103.2 MB / 4.064 GB, free: 43.7 MB / 0.5417 GB