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/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.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.318/2.318, allocations: 235 MB / 248.1 MB, free: 14.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.624e-05/2.665e-05, allocations: 0 / 309.7 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3432, allocations: 54.86 MB / 364.5 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.041/6.385, allocations: 2.595 GB / 2.951 GB, free: 4.297 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/6.385, allocations: 86.25 kB / 2.952 GB, free: 4.25 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.879/10.26, allocations: 0.8135 GB / 3.765 GB, free: 37.88 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.775e-06/10.26, allocations: 3.75 kB / 3.765 GB, free: 37.88 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001302/10.26, allocations: 36.06 kB / 3.765 GB, free: 37.88 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.009318/10.27, allocations: 2.587 MB / 3.768 GB, free: 36.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/10.27, allocations: 8.688 kB / 3.768 GB, free: 36.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004437/10.28, allocations: 465.2 kB / 3.768 GB, free: 36.62 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002947/10.28, allocations: 1.001 MB / 3.769 GB, free: 36.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/10.28, allocations: 112.2 kB / 3.769 GB, free: 36.28 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003127/10.28, allocations: 121.8 kB / 3.769 GB, free: 36.28 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005777/10.29, allocations: 1.928 MB / 3.771 GB, free: 35.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.762e-05/10.29, allocations: 10.38 kB / 3.771 GB, free: 35.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002294/10.29, allocations: 55.94 kB / 3.771 GB, free: 35.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.468e-05/10.29, allocations: 53.72 kB / 3.771 GB, free: 35.89 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005491/10.29, allocations: 1.581 MB / 3.773 GB, free: 35.88 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.01266/10.31, allocations: 9.413 MB / 3.782 GB, free: 29.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003667/10.31, allocations: 1.06 MB / 3.783 GB, free: 29.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008822/10.31, allocations: 411.5 kB / 3.783 GB, free: 29.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01097/10.32, allocations: 5.483 MB / 3.789 GB, free: 25.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/10.32, allocations: 48.88 kB / 3.789 GB, free: 25.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=91): time 4.228e-06/10.32, allocations: 0 / 3.789 GB, free: 25.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=134): time 0.03772/10.36, allocations: 6.976 MB / 3.796 GB, free: 24.44 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/10.36, allocations: 119.2 kB / 3.796 GB, free: 24.31 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/10.36, allocations: 0.6828 MB / 3.796 GB, free: 24.14 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002578/10.36, allocations: 51.27 kB / 3.796 GB, free: 24.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003641/10.36, allocations: 0.6641 MB / 3.797 GB, free: 23.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004537/10.36, allocations: 453.4 kB / 3.798 GB, free: 23.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/10.36, allocations: 32.62 kB / 3.798 GB, free: 23.42 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001163/10.36, allocations: 374.8 kB / 3.798 GB, free: 23.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/10.36, allocations: 0.5243 MB / 3.798 GB, free: 23.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001483/10.36, allocations: 0.9549 MB / 3.799 GB, free: 22.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/10.37, allocations: 0.6425 MB / 3.8 GB, free: 22.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/10.37, allocations: 3.406 kB / 3.8 GB, free: 22.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.007976/10.37, allocations: 2.307 MB / 3.802 GB, free: 22.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001031/10.38, allocations: 5.045 MB / 3.807 GB, free: 17.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-05/10.38, allocations: 14.69 kB / 3.807 GB, free: 17.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006977/10.38, allocations: 1.196 MB / 3.808 GB, free: 17.11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/10.38, allocations: 281.8 kB / 3.809 GB, free: 17.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009014/10.39, allocations: 7.039 MB / 3.815 GB, free: 27.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002385/10.4, allocations: 188.5 kB / 3.816 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003/10.4, allocations: 90.8 kB / 3.816 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/10.4, allocations: 7.297 kB / 3.816 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007951/10.4, allocations: 2.199 MB / 3.818 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.829e-05/10.4, allocations: 10.03 kB / 3.818 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00575/10.41, allocations: 0.9763 MB / 3.819 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/10.41, allocations: 295 kB / 3.819 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009896/10.42, allocations: 6.866 MB / 3.826 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/10.42, allocations: 181 kB / 3.826 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003268/10.42, allocations: 84.86 kB / 3.826 GB, free: 21.96 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 10 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].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 (134): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 8,2 6,2 8,2 8,2 6,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0005455/10.42, allocations: 205.9 kB / 3.826 GB, free: 21.85 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000403/10.42, allocations: 129.5 kB / 3.826 GB, free: 21.78 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01055/10.44, allocations: 5.113 MB / 3.831 GB, free: 21.34 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.178e-05/10.44, allocations: 45.05 kB / 3.831 GB, free: 21.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/10.44, allocations: 6.75 kB / 3.831 GB, free: 21.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.984e-05/10.44, allocations: 3.891 kB / 3.831 GB, free: 21.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01432/10.45, allocations: 8.015 MB / 3.839 GB, free: 20.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.755e-05/10.45, allocations: 2.5 kB / 3.839 GB, free: 20.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/10.45, allocations: 181 kB / 3.839 GB, free: 20.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007726/10.46, allocations: 2.185 MB / 3.842 GB, free: 20.11 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002303/10.46, allocations: 36.36 kB / 3.842 GB, free: 20.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009568/10.47, allocations: 8.12 MB / 3.85 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.284e-06/10.47, allocations: 0 / 3.85 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008409/10.48, allocations: 4.123 MB / 3.854 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/10.48, allocations: 440.6 kB / 3.854 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003406/10.48, allocations: 33.95 kB / 3.854 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002341/10.48, allocations: 217.9 kB / 3.854 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003396/10.48, allocations: 124.6 kB / 3.854 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001592/10.48, allocations: 55.41 kB / 3.854 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001082/10.48, allocations: 0.5977 MB / 3.855 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.021e-06/10.48, allocations: 0 / 3.855 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008437/10.49, allocations: 2.046 MB / 3.857 GB, free: 13.37 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 24 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,Source.medium.phase,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 (81): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.01051/10.5, allocations: 2.33 MB / 3.859 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009994/10.51, allocations: 3.333 MB / 3.863 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/10.51, allocations: 0 / 3.863 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004129/10.52, allocations: 1.6 MB / 3.864 GB, free: 10.85 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003729/10.52, allocations: 0.5185 MB / 3.865 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5395/11.06, allocations: 78.28 MB / 3.941 GB, free: 63.57 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/11.06, allocations: 1.452 MB / 3.942 GB, free: 62.85 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004537/11.06, allocations: 107.4 kB / 3.943 GB, free: 62.85 MB / 0.5261 GB Notification: Performance of SimCode: time 1.851e-06/11.06, allocations: 0 / 3.943 GB, free: 62.85 MB / 0.5261 GB Notification: Performance of Templates: time 0.1312/11.19, allocations: 110.6 MB / 4.051 GB, free: 44.88 MB / 0.5261 GB