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.TestControlledPump.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.TestControlledPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|massFlowRate.y|sink.ports.1..m_flow|sink.ports.1..p|sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|valveOpening.y|pressure1.y|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|pump1.port_b.m_flow|pump1.port_b.p|pump1.port_b.h_outflow|valve1.port_b.m_flow|valve1.port_b.p|valve1.port_b.h_outflow|valve1.minLimiter.y|valveOpening1.y|sinkPressure.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") Notification: Performance of loadModel(ModelicaTest): time 2.289/2.289, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.874e-05/2.895e-05, allocations: 4 kB / 309.7 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3207, allocations: 54.85 MB / 364.5 MB, free: 5.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.329/6.65, allocations: 2.614 GB / 2.97 GB, free: 106 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/6.65, allocations: 89.67 kB / 2.97 GB, free: 106 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.43/10.08, allocations: 0.7575 GB / 3.728 GB, free: 33.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.274e-06/10.08, allocations: 4.922 kB / 3.728 GB, free: 33.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001489/10.08, allocations: 39.03 kB / 3.728 GB, free: 33.1 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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.01001/10.09, allocations: 2.702 MB / 3.73 GB, free: 32.03 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/10.09, allocations: 12.16 kB / 3.73 GB, free: 32.03 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006859/10.1, allocations: 0.645 MB / 3.731 GB, free: 31.95 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002957/10.1, allocations: 1.011 MB / 3.732 GB, free: 31.62 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/10.1, allocations: 94.38 kB / 3.732 GB, free: 31.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002962/10.1, allocations: 113.3 kB / 3.732 GB, free: 31.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005752/10.11, allocations: 1.918 MB / 3.734 GB, free: 31.21 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.124e-05/10.11, allocations: 8.875 kB / 3.734 GB, free: 31.21 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002054/10.11, allocations: 52.38 kB / 3.734 GB, free: 31.21 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.889e-05/10.11, allocations: 41.8 kB / 3.734 GB, free: 31.21 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005427/10.11, allocations: 1.624 MB / 3.736 GB, free: 31.2 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.13, allocations: 9.306 MB / 3.745 GB, free: 24.83 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005132/10.13, allocations: 1.399 MB / 3.746 GB, free: 24.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/10.13, allocations: 450.6 kB / 3.747 GB, free: 24.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.049/10.18, allocations: 21.62 MB / 3.768 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.584e-05/10.18, allocations: 51.05 kB / 3.768 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=94): time 6.051e-06/10.18, allocations: 2.531 kB / 3.768 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=134): time 0.05027/10.23, allocations: 8.025 MB / 3.776 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/10.23, allocations: 171.9 kB / 3.776 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/10.23, allocations: 0.7191 MB / 3.776 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003377/10.23, allocations: 51.67 kB / 3.776 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000439/10.23, allocations: 0.6189 MB / 3.777 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005518/10.23, allocations: 454.8 kB / 3.777 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/10.23, allocations: 32.59 kB / 3.777 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002446/10.23, allocations: 374.9 kB / 3.778 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/10.24, allocations: 0.5628 MB / 3.778 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/10.24, allocations: 0.9725 MB / 3.779 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001992/10.24, allocations: 0.6832 MB / 3.78 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.185e-05/10.24, allocations: 3.781 kB / 3.78 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005675/10.25, allocations: 1.98 MB / 3.782 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002364/10.25, allocations: 4.629 MB / 3.786 GB, free: 19.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.872e-05/10.25, allocations: 11.38 kB / 3.786 GB, free: 19.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008661/10.26, allocations: 1.307 MB / 3.788 GB, free: 19.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002797/10.26, allocations: 446.3 kB / 3.788 GB, free: 19.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005534/10.26, allocations: 3.088 MB / 3.791 GB, free: 17.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002648/10.27, allocations: 225.7 kB / 3.791 GB, free: 17.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004265/10.27, allocations: 105 kB / 3.792 GB, free: 17.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/10.27, allocations: 3.25 kB / 3.792 GB, free: 17.3 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005018/10.27, allocations: 1.775 MB / 3.793 GB, free: 17.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/10.27, allocations: 11.75 kB / 3.793 GB, free: 17.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002249/10.28, allocations: 0.5403 MB / 3.794 GB, free: 17.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003951/10.28, allocations: 0.5741 MB / 3.794 GB, free: 17.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00308/10.28, allocations: 1.643 MB / 3.796 GB, free: 16.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/10.28, allocations: 234.3 kB / 3.796 GB, free: 16.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003759/10.29, allocations: 99.22 kB / 3.796 GB, free: 16.19 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 12 (source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,valve1.state_b.phase,valve1.state_a.phase,pump1.monitoring.state_in.phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 144 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,3 11,1 7,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.000611/10.29, allocations: 204.9 kB / 3.796 GB, free: 16.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004396/10.29, allocations: 131.8 kB / 3.797 GB, free: 16.01 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01297/10.3, allocations: 7.207 MB / 3.804 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.925e-05/10.3, allocations: 78.28 kB / 3.804 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/10.3, allocations: 0 / 3.804 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.154e-05/10.3, allocations: 6.891 kB / 3.804 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01707/10.32, allocations: 9.468 MB / 3.813 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.669e-05/10.32, allocations: 0 / 3.813 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001969/10.32, allocations: 327.9 kB / 3.813 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009248/10.33, allocations: 2.711 MB / 3.816 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003349/10.33, allocations: 43.73 kB / 3.816 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006969/10.34, allocations: 4.387 MB / 3.82 GB, free: 28.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.614e-06/10.34, allocations: 3.562 kB / 3.82 GB, free: 28.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008363/10.34, allocations: 4.591 MB / 3.825 GB, free: 27.88 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001463/10.35, allocations: 0.5393 MB / 3.825 GB, free: 27.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004938/10.35, allocations: 27.2 kB / 3.825 GB, free: 27.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002628/10.35, allocations: 238.8 kB / 3.826 GB, free: 27.58 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004535/10.35, allocations: 130.3 kB / 3.826 GB, free: 27.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001978/10.35, allocations: 74.56 kB / 3.826 GB, free: 27.58 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001165/10.35, allocations: 0.6253 MB / 3.826 GB, free: 27.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.197e-06/10.35, allocations: 0 / 3.826 GB, free: 27.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008853/10.36, allocations: 2.044 MB / 3.828 GB, free: 27.21 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 46 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 17 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 7,3 16,1 7,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01107/10.37, allocations: 2.301 MB / 3.831 GB, free: 26.66 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009311/10.38, allocations: 3.465 MB / 3.834 GB, free: 26.59 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/10.38, allocations: 4 kB / 3.834 GB, free: 26.58 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0046/10.38, allocations: 2.021 MB / 3.836 GB, free: 26.55 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003858/10.39, allocations: 0.5594 MB / 3.836 GB, free: 26.52 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5333/10.92, allocations: 79.07 MB / 3.914 GB, free: 58.54 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001599/10.92, allocations: 1.636 MB / 3.915 GB, free: 57.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008051/10.92, allocations: 138 kB / 3.915 GB, free: 57.8 MB / 0.5261 GB Notification: Performance of SimCode: time 2.07e-06/10.92, allocations: 1.156 kB / 3.915 GB, free: 57.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.1184/11.04, allocations: 84.72 MB / 3.998 GB, free: 54.64 MB / 0.5261 GB