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.164/2.164, allocations: 234.9 MB / 250.5 MB, free: 9.535 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004273/0.0004275, allocations: 8 kB / 314.4 MB, free: 9.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2763, allocations: 54.85 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.348/6.624, allocations: 2.614 GB / 2.975 GB, free: 155 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/6.625, allocations: 90.45 kB / 2.975 GB, free: 155 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.362/9.986, allocations: 0.7598 GB / 3.735 GB, free: 34.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.165e-06/9.986, allocations: 0 / 3.735 GB, free: 34.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001432/9.987, allocations: 37.12 kB / 3.735 GB, free: 34.91 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.0103/9.997, allocations: 2.88 MB / 3.737 GB, free: 33.68 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/9.997, allocations: 8.938 kB / 3.737 GB, free: 33.68 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006572/10, allocations: 0.6476 MB / 3.738 GB, free: 33.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/10.01, allocations: 1.014 MB / 3.739 GB, free: 33.26 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/10.01, allocations: 93.44 kB / 3.739 GB, free: 33.26 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002294/10.01, allocations: 111.7 kB / 3.739 GB, free: 33.26 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006343/10.01, allocations: 2.005 MB / 3.741 GB, free: 32.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.404e-05/10.01, allocations: 7.812 kB / 3.741 GB, free: 32.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002175/10.01, allocations: 55.45 kB / 3.741 GB, free: 32.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-05/10.01, allocations: 46.3 kB / 3.741 GB, free: 32.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00686/10.02, allocations: 1.87 MB / 3.743 GB, free: 32.84 MB / 0.4948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01232/10.03, allocations: 9.301 MB / 3.752 GB, free: 26.47 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00621/10.04, allocations: 1.604 MB / 3.754 GB, free: 26.44 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04433/10.08, allocations: 21.55 MB / 3.775 GB, free: 28.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.417e-05/10.08, allocations: 54.39 kB / 3.775 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=94): time 4.76e-06/10.08, allocations: 0 / 3.775 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=134): time 0.05403/10.14, allocations: 9.423 MB / 3.784 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/10.14, allocations: 172.9 kB / 3.784 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/10.14, allocations: 0.7362 MB / 3.785 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003472/10.14, allocations: 49.17 kB / 3.785 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004502/10.14, allocations: 0.6097 MB / 3.786 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004837/10.14, allocations: 456.2 kB / 3.786 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/10.14, allocations: 31.12 kB / 3.786 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002264/10.14, allocations: 375.4 kB / 3.786 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002675/10.14, allocations: 0.8205 MB / 3.787 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002975/10.15, allocations: 1.229 MB / 3.788 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003166/10.15, allocations: 0.9395 MB / 3.789 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/10.15, allocations: 3.656 kB / 3.789 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.008834/10.16, allocations: 2.55 MB / 3.792 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002403/10.16, allocations: 4.625 MB / 3.796 GB, free: 20.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.302e-05/10.16, allocations: 11.56 kB / 3.796 GB, free: 20.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009488/10.17, allocations: 1.44 MB / 3.798 GB, free: 20.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002721/10.17, allocations: 448.2 kB / 3.798 GB, free: 20.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006551/10.18, allocations: 3.268 MB / 3.801 GB, free: 18.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002628/10.18, allocations: 222.7 kB / 3.802 GB, free: 18.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004163/10.18, allocations: 103.4 kB / 3.802 GB, free: 18.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/10.18, allocations: 7.812 kB / 3.802 GB, free: 18.64 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007447/10.19, allocations: 2.31 MB / 3.804 GB, free: 18.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/10.19, allocations: 16.34 kB / 3.804 GB, free: 18.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002608/10.19, allocations: 0.6105 MB / 3.805 GB, free: 18.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004174/10.2, allocations: 0.5768 MB / 3.805 GB, free: 18.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003481/10.2, allocations: 1.721 MB / 3.807 GB, free: 17.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/10.2, allocations: 230.1 kB / 3.807 GB, free: 17.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000284/10.2, allocations: 104.8 kB / 3.807 GB, free: 17.43 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 () * Number of clocked 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.001231/10.2, allocations: 409.5 kB / 3.807 GB, free: 17.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004116/10.21, allocations: 132 kB / 3.808 GB, free: 17.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0143/10.22, allocations: 7.378 MB / 3.815 GB, free: 16.52 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.47e-05/10.22, allocations: 77.25 kB / 3.815 GB, free: 16.52 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/10.22, allocations: 0 / 3.815 GB, free: 16.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-05/10.22, allocations: 6.188 kB / 3.815 GB, free: 16.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0183/10.24, allocations: 9.853 MB / 3.825 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.238e-05/10.24, allocations: 0 / 3.825 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/10.24, allocations: 329.9 kB / 3.825 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008841/10.25, allocations: 2.521 MB / 3.827 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00029/10.25, allocations: 44.64 kB / 3.827 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007415/10.26, allocations: 4.459 MB / 3.832 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.886e-06/10.26, allocations: 0 / 3.832 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/10.27, allocations: 5.033 MB / 3.837 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/10.27, allocations: 0.535 MB / 3.837 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004345/10.27, allocations: 29.88 kB / 3.837 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002157/10.27, allocations: 236.7 kB / 3.837 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004022/10.27, allocations: 131 kB / 3.837 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001987/10.27, allocations: 68.12 kB / 3.838 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001204/10.27, allocations: 0.6334 MB / 3.838 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.02e-07/10.27, allocations: 0 / 3.838 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008603/10.28, allocations: 2.047 MB / 3.84 GB, free: 12.17 MB / 0.5105 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 () * Number of clocked 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.01056/10.29, allocations: 2.296 MB / 3.842 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01207/10.3, allocations: 4.23 MB / 3.847 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.475e-06/10.3, allocations: 0 / 3.847 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005182/10.31, allocations: 2.285 MB / 3.849 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003648/10.31, allocations: 0.5613 MB / 3.849 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5353/10.85, allocations: 81.34 MB / 3.929 GB, free: 59.82 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001249/10.85, allocations: 1.635 MB / 3.93 GB, free: 59.08 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007762/10.85, allocations: 138.6 kB / 3.931 GB, free: 59.08 MB / 0.5261 GB Notification: Performance of SimCode: time 2.101e-06/10.85, allocations: 1.094 kB / 3.931 GB, free: 59.08 MB / 0.5261 GB Notification: Performance of Templates: time 0.1181/10.97, allocations: 85.06 MB / 4.014 GB, free: 54.8 MB / 0.5261 GB