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.TestControlledPump.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.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.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") Notification: Performance of loadModel(ModelicaTest): time 1.904/1.904, allocations: 209.3 MB / 224.9 MB, free: 1.207 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000439/0.0004392, allocations: 12 kB / 282.6 MB, free: 9.707 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08803/0.0885, allocations: 48.7 MB / 331.3 MB, free: 8.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.241/6.329, allocations: 2.503 GB / 2.827 GB, free: 98.76 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/6.33, allocations: 87.02 kB / 2.827 GB, free: 98.71 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.238/9.567, allocations: 0.7396 GB / 3.567 GB, free: 28.51 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.713e-06/9.567, allocations: 0 / 3.567 GB, free: 28.51 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001402/9.568, allocations: 43.75 kB / 3.567 GB, free: 28.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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.01045/9.578, allocations: 2.787 MB / 3.569 GB, free: 26.91 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/9.578, allocations: 11.72 kB / 3.569 GB, free: 26.91 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006524/9.585, allocations: 0.6187 MB / 3.57 GB, free: 26.79 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002773/9.587, allocations: 1.008 MB / 3.571 GB, free: 26.21 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/9.588, allocations: 97.16 kB / 3.571 GB, free: 26.16 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002457/9.588, allocations: 117.2 kB / 3.571 GB, free: 26.12 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006756/9.595, allocations: 2.008 MB / 3.573 GB, free: 24.65 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.061e-05/9.595, allocations: 7.938 kB / 3.573 GB, free: 24.64 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002154/9.595, allocations: 56 kB / 3.573 GB, free: 24.59 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-05/9.595, allocations: 42.02 kB / 3.573 GB, free: 24.55 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006918/9.602, allocations: 1.877 MB / 3.575 GB, free: 22.66 MB / 458.7 MB 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.01188/9.614, allocations: 9.31 MB / 3.584 GB, free: 12.63 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005979/9.62, allocations: 1.61 MB / 3.586 GB, free: 11.02 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04606/9.666, allocations: 21.49 MB / 3.607 GB, free: 2.852 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.986e-05/9.666, allocations: 43.56 kB / 3.607 GB, free: 2.801 MB / 474.7 MB Notification: Performance of pre-optimization done (n=94): time 4.596e-06/9.666, allocations: 3.938 kB / 3.607 GB, free: 2.797 MB / 474.7 MB Notification: Performance of matching and sorting (n=134): time 0.3656/10.03, allocations: 9.413 MB / 3.616 GB, free: 50.41 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/10.03, allocations: 172.3 kB / 3.616 GB, free: 50.22 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/10.03, allocations: 0.7421 MB / 3.617 GB, free: 50.07 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00031/10.03, allocations: 48.77 kB / 3.617 GB, free: 50.04 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004178/10.03, allocations: 0.6136 MB / 3.618 GB, free: 49.73 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005483/10.03, allocations: 455.7 kB / 3.618 GB, free: 49.51 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/10.03, allocations: 27.72 kB / 3.618 GB, free: 49.51 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/10.04, allocations: 367.1 kB / 3.618 GB, free: 49.19 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0031/10.04, allocations: 0.8211 MB / 3.619 GB, free: 49.19 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003406/10.04, allocations: 1.24 MB / 3.62 GB, free: 48.72 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003649/10.05, allocations: 0.9348 MB / 3.621 GB, free: 48.71 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.467e-05/10.05, allocations: 5.562 kB / 3.621 GB, free: 48.71 MB / 474.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.008934/10.05, allocations: 2.552 MB / 3.624 GB, free: 48.59 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009123/10.06, allocations: 4.613 MB / 3.628 GB, free: 43.79 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/10.06, allocations: 10.72 kB / 3.628 GB, free: 43.79 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008939/10.06, allocations: 1.443 MB / 3.63 GB, free: 43.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002723/10.07, allocations: 443.2 kB / 3.63 GB, free: 43.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006343/10.07, allocations: 3.264 MB / 3.633 GB, free: 41.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002972/10.08, allocations: 223.1 kB / 3.634 GB, free: 41.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005214/10.08, allocations: 104.8 kB / 3.634 GB, free: 41.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/10.08, allocations: 6.438 kB / 3.634 GB, free: 41.66 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00931/10.09, allocations: 2.313 MB / 3.636 GB, free: 41.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.872e-05/10.09, allocations: 12.73 kB / 3.636 GB, free: 41.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00306/10.09, allocations: 0.6093 MB / 3.637 GB, free: 41.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004083/10.09, allocations: 0.5751 MB / 3.637 GB, free: 41.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003204/10.1, allocations: 1.731 MB / 3.639 GB, free: 40.55 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/10.1, allocations: 220.8 kB / 3.639 GB, free: 40.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004426/10.1, allocations: 101.6 kB / 3.639 GB, free: 40.55 MB / 474.7 MB 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.001452/10.1, allocations: 423.8 kB / 3.64 GB, free: 40.36 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004745/10.1, allocations: 130.7 kB / 3.64 GB, free: 40.29 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02461/10.13, allocations: 7.373 MB / 3.647 GB, free: 39.79 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001601/10.13, allocations: 78.91 kB / 3.647 GB, free: 39.79 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.132e-05/10.13, allocations: 1.062 kB / 3.647 GB, free: 39.79 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.813e-05/10.13, allocations: 10.78 kB / 3.647 GB, free: 39.79 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03492/10.16, allocations: 9.851 MB / 3.657 GB, free: 39.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.518e-05/10.16, allocations: 2.031 kB / 3.657 GB, free: 39.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003545/10.17, allocations: 324 kB / 3.657 GB, free: 39.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01656/10.18, allocations: 2.517 MB / 3.659 GB, free: 38.92 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004871/10.18, allocations: 44.64 kB / 3.659 GB, free: 38.92 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01276/10.2, allocations: 4.474 MB / 3.664 GB, free: 36.78 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.678e-06/10.2, allocations: 2.562 kB / 3.664 GB, free: 36.78 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0114/10.21, allocations: 5.045 MB / 3.669 GB, free: 36.27 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/10.21, allocations: 0.5342 MB / 3.669 GB, free: 35.99 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004304/10.21, allocations: 38.27 kB / 3.669 GB, free: 35.99 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002484/10.21, allocations: 227.2 kB / 3.669 GB, free: 35.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004304/10.21, allocations: 134.5 kB / 3.67 GB, free: 35.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000197/10.21, allocations: 66.12 kB / 3.67 GB, free: 35.98 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00116/10.21, allocations: 0.6394 MB / 3.67 GB, free: 35.87 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.018e-06/10.21, allocations: 3.406 kB / 3.67 GB, free: 35.87 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008939/10.22, allocations: 2.026 MB / 3.672 GB, free: 35.8 MB / 474.7 MB 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.01078/10.23, allocations: 2.272 MB / 3.674 GB, free: 35.55 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0127/10.25, allocations: 4.237 MB / 3.679 GB, free: 35.49 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.411e-06/10.25, allocations: 0 / 3.679 GB, free: 35.49 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005826/10.25, allocations: 2.287 MB / 3.681 GB, free: 35.46 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003963/10.26, allocations: 0.5556 MB / 3.681 GB, free: 35.45 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1894/10.45, allocations: 79.99 MB / 3.759 GB, free: 15.71 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/10.45, allocations: 1.641 MB / 3.761 GB, free: 14.36 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007493/10.45, allocations: 141.8 kB / 3.761 GB, free: 14.24 MB / 474.7 MB Notification: Performance of SimCode: time 2.143e-06/10.45, allocations: 0 / 3.761 GB, free: 14.24 MB / 474.7 MB Notification: Performance of Templates: time 0.4327/10.88, allocations: 84.85 MB / 3.844 GB, free: 37.23 MB / 474.7 MB