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.Machines.TestWaterPumpCharacteristics.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.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.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics") Notification: Performance of loadModel(ModelicaTest): time 1.882/1.882, allocations: 209.4 MB / 217.3 MB, free: 4.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.898e-05/1.907e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2595, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.877/6.136, allocations: 2.484 GB / 2.797 GB, free: 22.88 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/6.137, allocations: 83.27 kB / 2.797 GB, free: 22.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.428/9.564, allocations: 0.7846 GB / 3.581 GB, free: 43.51 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.956e-06/9.565, allocations: 2.844 kB / 3.581 GB, free: 43.51 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001055/9.565, allocations: 40.8 kB / 3.581 GB, free: 43.5 MB / 458.7 MB 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.008232/9.573, allocations: 2.502 MB / 3.584 GB, free: 42.22 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/9.573, allocations: 8.062 kB / 3.584 GB, free: 42.22 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004488/9.577, allocations: 461.9 kB / 3.584 GB, free: 42.14 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002726/9.58, allocations: 1.002 MB / 3.585 GB, free: 41.79 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/9.58, allocations: 54.91 kB / 3.585 GB, free: 41.79 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002089/9.581, allocations: 71.59 kB / 3.585 GB, free: 41.79 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002639/9.583, allocations: 1.14 MB / 3.586 GB, free: 41.79 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00289/9.586, allocations: 1.371 MB / 3.588 GB, free: 41.4 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.567e-05/9.586, allocations: 7.375 kB / 3.588 GB, free: 41.39 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/9.586, allocations: 4.844 kB / 3.588 GB, free: 41.39 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.498e-05/9.586, allocations: 55.5 kB / 3.588 GB, free: 41.39 MB / 458.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.6904/10.28, allocations: 132.9 MB / 3.718 GB, free: 33.08 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/10.28, allocations: 0.5663 MB / 3.718 GB, free: 33.05 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00072/10.28, allocations: 367.4 kB / 3.719 GB, free: 33.04 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006791/10.29, allocations: 4.042 MB / 3.722 GB, free: 29.95 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/10.29, allocations: 47.28 kB / 3.723 GB, free: 29.91 MB / 474.7 MB Notification: Performance of pre-optimization done (n=81): time 3.8e-06/10.29, allocations: 0 / 3.723 GB, free: 29.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=123): time 0.02258/10.31, allocations: 5.014 MB / 3.727 GB, free: 28.93 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/10.31, allocations: 114.5 kB / 3.728 GB, free: 28.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/10.31, allocations: 0.6775 MB / 3.728 GB, free: 28.65 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002404/10.31, allocations: 26.83 kB / 3.728 GB, free: 28.62 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004156/10.31, allocations: 0.693 MB / 3.729 GB, free: 28.27 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000401/10.31, allocations: 401.7 kB / 3.729 GB, free: 28.06 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/10.31, allocations: 0 / 3.729 GB, free: 28.06 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/10.31, allocations: 372 kB / 3.73 GB, free: 27.75 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/10.31, allocations: 0.5287 MB / 3.73 GB, free: 27.75 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/10.31, allocations: 0.9471 MB / 3.731 GB, free: 27.25 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002873/10.32, allocations: 0.713 MB / 3.732 GB, free: 27.22 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-05/10.32, allocations: 3.969 kB / 3.732 GB, free: 27.22 MB / 474.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01049/10.33, allocations: 2.462 MB / 3.734 GB, free: 27.02 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001069/10.33, allocations: 5.045 MB / 3.739 GB, free: 21.72 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.606e-05/10.33, allocations: 11.08 kB / 3.739 GB, free: 21.72 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007656/10.34, allocations: 1.23 MB / 3.74 GB, free: 21.63 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/10.34, allocations: 248.5 kB / 3.741 GB, free: 21.63 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008211/10.35, allocations: 5.825 MB / 3.746 GB, free: 17.44 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002728/10.35, allocations: 179.1 kB / 3.746 GB, free: 17.42 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002978/10.35, allocations: 92.83 kB / 3.747 GB, free: 17.42 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/10.35, allocations: 2.812 kB / 3.747 GB, free: 17.42 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007182/10.36, allocations: 1.844 MB / 3.748 GB, free: 17.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.26e-05/10.36, allocations: 15.94 kB / 3.748 GB, free: 17.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004177/10.36, allocations: 0.8503 MB / 3.749 GB, free: 17.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/10.36, allocations: 291.7 kB / 3.749 GB, free: 17.22 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007084/10.37, allocations: 5.306 MB / 3.755 GB, free: 29.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001956/10.37, allocations: 160.6 kB / 3.755 GB, free: 29.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/10.37, allocations: 73.83 kB / 3.755 GB, free: 29.02 MB / 490.7 MB 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.0006012/10.37, allocations: 177 kB / 3.755 GB, free: 28.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003539/10.37, allocations: 125.3 kB / 3.755 GB, free: 28.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008469/10.38, allocations: 4.051 MB / 3.759 GB, free: 28.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-05/10.38, allocations: 34.72 kB / 3.759 GB, free: 28.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/10.38, allocations: 5.844 kB / 3.759 GB, free: 28.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.556e-05/10.38, allocations: 8.203 kB / 3.759 GB, free: 28.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01314/10.39, allocations: 6.68 MB / 3.766 GB, free: 27.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/10.39, allocations: 4.531 kB / 3.766 GB, free: 27.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008643/10.39, allocations: 150.7 kB / 3.766 GB, free: 27.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006882/10.4, allocations: 2.105 MB / 3.768 GB, free: 27.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001845/10.4, allocations: 19.28 kB / 3.768 GB, free: 27.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0104/10.41, allocations: 8.517 MB / 3.776 GB, free: 21.81 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.446e-06/10.41, allocations: 4.578 kB / 3.776 GB, free: 21.81 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007915/10.42, allocations: 3.727 MB / 3.78 GB, free: 21.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/10.42, allocations: 382.5 kB / 3.78 GB, free: 21.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002456/10.42, allocations: 7.406 kB / 3.78 GB, free: 21.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/10.42, allocations: 190.3 kB / 3.78 GB, free: 21.08 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002952/10.42, allocations: 123 kB / 3.781 GB, free: 21.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000147/10.42, allocations: 55.03 kB / 3.781 GB, free: 21.08 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009739/10.42, allocations: 0.5398 MB / 3.781 GB, free: 20.97 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.1e-07/10.42, allocations: 0 / 3.781 GB, free: 20.97 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007501/10.43, allocations: 1.912 MB / 3.783 GB, free: 20.9 MB / 490.7 MB 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.01008/10.44, allocations: 2.464 MB / 3.785 GB, free: 20.53 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009529/10.45, allocations: 2.814 MB / 3.788 GB, free: 20.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.273e-06/10.45, allocations: 0.7656 kB / 3.788 GB, free: 20.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00378/10.46, allocations: 1.432 MB / 3.79 GB, free: 20.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002974/10.46, allocations: 467.6 kB / 3.79 GB, free: 20.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005424/10.46, allocations: 2.563 MB / 3.792 GB, free: 19.65 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/10.47, allocations: 1.384 MB / 3.794 GB, free: 18.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004498/10.47, allocations: 108.2 kB / 3.794 GB, free: 18.9 MB / 490.7 MB Notification: Performance of SimCode: time 2.245e-06/10.47, allocations: 0 / 3.794 GB, free: 18.9 MB / 490.7 MB Notification: Performance of Templates: time 0.4341/10.9, allocations: 103 MB / 3.894 GB, free: 74.52 MB / 490.7 MB