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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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 2.013/2.013, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.069e-05/3.089e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0889/0.08896, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.116/6.205, allocations: 2.485 GB / 2.804 GB, free: 122.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/6.206, allocations: 84.89 kB / 2.804 GB, free: 122.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.365/9.57, allocations: 0.7916 GB / 3.595 GB, free: 38.43 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.632e-06/9.57, allocations: 0 / 3.595 GB, free: 38.43 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001283/9.571, allocations: 43.23 kB / 3.595 GB, free: 38.39 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.009021/9.58, allocations: 2.509 MB / 3.598 GB, free: 35.86 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/9.58, allocations: 8.031 kB / 3.598 GB, free: 35.85 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004585/9.584, allocations: 468.1 kB / 3.598 GB, free: 35.39 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002636/9.587, allocations: 0.9926 MB / 3.599 GB, free: 34.38 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/9.587, allocations: 106.5 kB / 3.599 GB, free: 34.27 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002452/9.587, allocations: 125.9 kB / 3.599 GB, free: 34.15 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005634/9.593, allocations: 1.933 MB / 3.601 GB, free: 32.08 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.285e-05/9.593, allocations: 3.938 kB / 3.601 GB, free: 32.07 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002321/9.593, allocations: 56 kB / 3.601 GB, free: 32.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.841e-05/9.594, allocations: 62.23 kB / 3.601 GB, free: 31.96 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005317/9.599, allocations: 1.578 MB / 3.603 GB, free: 30.37 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.01229/9.611, allocations: 9.425 MB / 3.612 GB, free: 20.21 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003573/9.615, allocations: 1.056 MB / 3.613 GB, free: 19.14 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008518/9.616, allocations: 414.6 kB / 3.614 GB, free: 18.74 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009465/9.625, allocations: 5.425 MB / 3.619 GB, free: 12.57 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/9.625, allocations: 43.34 kB / 3.619 GB, free: 12.51 MB / 458.7 MB Notification: Performance of pre-optimization done (n=91): time 5.256e-06/9.625, allocations: 0 / 3.619 GB, free: 12.51 MB / 458.7 MB Notification: Performance of matching and sorting (n=134): time 0.03555/9.661, allocations: 6.991 MB / 3.626 GB, free: 5.383 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/9.661, allocations: 120.1 kB / 3.626 GB, free: 5.242 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/9.662, allocations: 0.6898 MB / 3.627 GB, free: 4.527 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002763/9.663, allocations: 49.7 kB / 3.627 GB, free: 4.473 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003837/9.663, allocations: 0.6631 MB / 3.627 GB, free: 3.809 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004656/9.663, allocations: 445.8 kB / 3.628 GB, free: 3.375 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/9.664, allocations: 32 kB / 3.628 GB, free: 3.344 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/9.664, allocations: 374.8 kB / 3.628 GB, free: 2.969 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/9.665, allocations: 0.5272 MB / 3.629 GB, free: 2.441 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/9.666, allocations: 0.9559 MB / 3.63 GB, free: 1.305 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/9.668, allocations: 0.6374 MB / 3.63 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/9.668, allocations: 3.953 kB / 3.63 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.008283/9.676, allocations: 2.313 MB / 3.632 GB, free: 14.32 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00288/9.679, allocations: 5.043 MB / 3.637 GB, free: 8.879 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.424e-05/9.679, allocations: 12 kB / 3.637 GB, free: 8.867 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007549/9.687, allocations: 1.211 MB / 3.639 GB, free: 7.645 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/9.688, allocations: 279.5 kB / 3.639 GB, free: 7.371 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01064/9.699, allocations: 7.033 MB / 3.646 GB, free: 4 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3055/10, allocations: 179.1 kB / 3.646 GB, free: 55.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003571/10, allocations: 92.7 kB / 3.646 GB, free: 55.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/10, allocations: 3.219 kB / 3.646 GB, free: 55.8 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008481/10.01, allocations: 2.198 MB / 3.648 GB, free: 55.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.703e-05/10.01, allocations: 14 kB / 3.648 GB, free: 55.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00528/10.02, allocations: 0.9698 MB / 3.649 GB, free: 55.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/10.02, allocations: 302.2 kB / 3.649 GB, free: 55.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007166/10.03, allocations: 6.868 MB / 3.656 GB, free: 50.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/10.03, allocations: 183 kB / 3.656 GB, free: 50.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002472/10.03, allocations: 89.84 kB / 3.656 GB, free: 50.21 MB / 474.7 MB 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.0005331/10.03, allocations: 204.4 kB / 3.656 GB, free: 50.11 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003932/10.03, allocations: 125.8 kB / 3.657 GB, free: 50.11 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01018/10.04, allocations: 5.114 MB / 3.662 GB, free: 49.77 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.04e-05/10.04, allocations: 50.58 kB / 3.662 GB, free: 49.76 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/10.04, allocations: 0 / 3.662 GB, free: 49.76 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.821e-05/10.04, allocations: 7.953 kB / 3.662 GB, free: 49.76 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01663/10.06, allocations: 7.999 MB / 3.669 GB, free: 48.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.25e-05/10.06, allocations: 2.938 kB / 3.669 GB, free: 48.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/10.06, allocations: 179.5 kB / 3.67 GB, free: 48.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007778/10.07, allocations: 2.184 MB / 3.672 GB, free: 48.64 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000244/10.07, allocations: 39.59 kB / 3.672 GB, free: 48.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008584/10.08, allocations: 8.118 MB / 3.68 GB, free: 43.15 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/10.08, allocations: 3.156 kB / 3.68 GB, free: 43.15 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008688/10.08, allocations: 4.113 MB / 3.684 GB, free: 42.61 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/10.09, allocations: 445.4 kB / 3.684 GB, free: 42.42 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003194/10.09, allocations: 30.53 kB / 3.684 GB, free: 42.42 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002014/10.09, allocations: 212.4 kB / 3.684 GB, free: 42.41 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003365/10.09, allocations: 123.8 kB / 3.685 GB, free: 42.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001742/10.09, allocations: 60.06 kB / 3.685 GB, free: 42.41 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001102/10.09, allocations: 0.596 MB / 3.685 GB, free: 42.29 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.92e-07/10.09, allocations: 0 / 3.685 GB, free: 42.29 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008337/10.1, allocations: 2.021 MB / 3.687 GB, free: 42.29 MB / 474.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: 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.01015/10.11, allocations: 2.308 MB / 3.689 GB, free: 42.12 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01014/10.12, allocations: 3.331 MB / 3.693 GB, free: 41.84 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/10.12, allocations: 0 / 3.693 GB, free: 41.84 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004151/10.12, allocations: 1.603 MB / 3.694 GB, free: 41.69 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003721/10.13, allocations: 0.5133 MB / 3.695 GB, free: 41.68 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1972/10.32, allocations: 76.81 MB / 3.77 GB, free: 34.45 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/10.32, allocations: 1.449 MB / 3.771 GB, free: 33.26 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004686/10.33, allocations: 103.7 kB / 3.771 GB, free: 33.17 MB / 474.7 MB Notification: Performance of SimCode: time 1.838e-06/10.33, allocations: 0 / 3.771 GB, free: 33.17 MB / 474.7 MB Notification: Performance of Templates: time 0.4426/10.77, allocations: 110.4 MB / 3.879 GB, free: 69.48 MB / 490.7 MB