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.TestWaterPumpDefaultLV.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.TestWaterPumpDefaultLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|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|valveOpening.y|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") Notification: Performance of loadModel(ModelicaTest): time 1.907/1.907, allocations: 209.3 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004315, allocations: 12 kB / 282.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2812, allocations: 48.7 MB / 331.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.776/6.057, allocations: 2.485 GB / 2.809 GB, free: 53.68 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/6.057, allocations: 87.95 kB / 2.809 GB, free: 53.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.949/8.006, allocations: 408.5 MB / 3.208 GB, free: 51.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.745e-06/8.006, allocations: 0 / 3.208 GB, free: 51.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.703e-05/8.006, allocations: 19.61 kB / 3.208 GB, free: 51.3 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.006118/8.013, allocations: 1.676 MB / 3.209 GB, free: 50.65 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/8.013, allocations: 8.281 kB / 3.209 GB, free: 50.65 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003/8.016, allocations: 285.1 kB / 3.21 GB, free: 50.62 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/8.017, allocations: 0.5495 MB / 3.21 GB, free: 50.38 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.89e-05/8.017, allocations: 52.14 kB / 3.21 GB, free: 50.38 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/8.017, allocations: 52.38 kB / 3.21 GB, free: 50.38 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003026/8.02, allocations: 0.9618 MB / 3.211 GB, free: 50.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/8.02, allocations: 3.156 kB / 3.211 GB, free: 50.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.403e-05/8.02, allocations: 24.75 kB / 3.211 GB, free: 50.18 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-05/8.021, allocations: 25.56 kB / 3.211 GB, free: 50.18 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003137/8.024, allocations: 0.8673 MB / 3.212 GB, free: 50.17 MB / 442.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.005476/8.029, allocations: 4.554 MB / 3.217 GB, free: 46.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002813/8.032, allocations: 0.733 MB / 3.217 GB, free: 46.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04557/8.078, allocations: 21.32 MB / 3.238 GB, free: 33.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/8.078, allocations: 45.42 kB / 3.238 GB, free: 33.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 4.073e-06/8.078, allocations: 0 / 3.238 GB, free: 33.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.01416/8.092, allocations: 3.266 MB / 3.241 GB, free: 32.91 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/8.092, allocations: 109.5 kB / 3.241 GB, free: 32.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005397/8.093, allocations: 375.1 kB / 3.242 GB, free: 32.67 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.71e-05/8.093, allocations: 42.77 kB / 3.242 GB, free: 32.64 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/8.093, allocations: 374.1 kB / 3.242 GB, free: 32.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/8.093, allocations: 195.1 kB / 3.242 GB, free: 32.26 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/8.093, allocations: 14.56 kB / 3.242 GB, free: 32.26 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.286e-05/8.093, allocations: 340.4 kB / 3.243 GB, free: 31.95 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009721/8.094, allocations: 305.1 kB / 3.243 GB, free: 31.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/8.095, allocations: 0.4996 MB / 3.244 GB, free: 31.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/8.096, allocations: 357.2 kB / 3.244 GB, free: 31.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.154e-06/8.096, allocations: 6.062 kB / 3.244 GB, free: 31.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.004153/8.1, allocations: 1.107 MB / 3.245 GB, free: 31.63 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004699/8.101, allocations: 2.357 MB / 3.247 GB, free: 29.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/8.101, allocations: 7.156 kB / 3.247 GB, free: 29.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002903/8.104, allocations: 490.2 kB / 3.248 GB, free: 29.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007208/8.105, allocations: 143.6 kB / 3.248 GB, free: 29.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/8.107, allocations: 1.531 MB / 3.249 GB, free: 28.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/8.108, allocations: 93.64 kB / 3.249 GB, free: 28.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-05/8.108, allocations: 41.05 kB / 3.249 GB, free: 28.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/8.108, allocations: 3.375 kB / 3.249 GB, free: 28.11 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004053/8.112, allocations: 1.056 MB / 3.251 GB, free: 28.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/8.112, allocations: 3.969 kB / 3.251 GB, free: 28.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002542/8.115, allocations: 408.8 kB / 3.251 GB, free: 28.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007315/8.116, allocations: 147.8 kB / 3.251 GB, free: 28.06 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/8.118, allocations: 1.476 MB / 3.252 GB, free: 27.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008789/8.118, allocations: 83.81 kB / 3.253 GB, free: 27.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.255e-05/8.119, allocations: 36.34 kB / 3.253 GB, free: 27.02 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].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 (63): * Single equations (assignments): 61 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005106/8.119, allocations: 303.6 kB / 3.253 GB, free: 26.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/8.119, allocations: 58.66 kB / 3.253 GB, free: 26.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005744/8.125, allocations: 3.41 MB / 3.256 GB, free: 26.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-05/8.125, allocations: 47.69 kB / 3.256 GB, free: 26.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.986e-06/8.125, allocations: 0 / 3.256 GB, free: 26.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/8.125, allocations: 11.12 kB / 3.256 GB, free: 26.43 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007898/8.133, allocations: 4.642 MB / 3.261 GB, free: 25.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/8.133, allocations: 3.938 kB / 3.261 GB, free: 25.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005474/8.134, allocations: 106.8 kB / 3.261 GB, free: 25.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003401/8.137, allocations: 0.9256 MB / 3.262 GB, free: 25.87 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.641e-05/8.137, allocations: 20.42 kB / 3.262 GB, free: 25.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002396/8.14, allocations: 1.952 MB / 3.264 GB, free: 24.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/8.14, allocations: 3.469 kB / 3.264 GB, free: 24.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003996/8.144, allocations: 2.189 MB / 3.266 GB, free: 24.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006163/8.144, allocations: 320.3 kB / 3.266 GB, free: 24.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/8.145, allocations: 16.41 kB / 3.266 GB, free: 24.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009514/8.146, allocations: 86.72 kB / 3.266 GB, free: 24.27 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/8.146, allocations: 58.12 kB / 3.266 GB, free: 24.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.483e-05/8.146, allocations: 26.38 kB / 3.266 GB, free: 24.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005681/8.146, allocations: 386.8 kB / 3.267 GB, free: 24.17 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.75e-07/8.146, allocations: 0 / 3.267 GB, free: 24.17 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005717/8.152, allocations: 1.395 MB / 3.268 GB, free: 23.98 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 25 ($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,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.008494/8.161, allocations: 1.724 MB / 3.27 GB, free: 23.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004758/8.165, allocations: 1.744 MB / 3.272 GB, free: 23.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/8.165, allocations: 0 / 3.272 GB, free: 23.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001991/8.167, allocations: 0.9766 MB / 3.272 GB, free: 23.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/8.169, allocations: 279.5 kB / 3.273 GB, free: 23.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1796/8.349, allocations: 77.05 MB / 3.348 GB, free: 15.32 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009913/8.35, allocations: 1.162 MB / 3.349 GB, free: 14.29 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/8.35, allocations: 58.86 kB / 3.349 GB, free: 14.24 MB / 458.7 MB Notification: Performance of SimCode: time 2.064e-06/8.35, allocations: 0 / 3.349 GB, free: 14.24 MB / 458.7 MB Notification: Performance of Templates: time 0.3416/8.692, allocations: 42.39 MB / 3.391 GB, free: 51.02 MB / 458.7 MB