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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.898/1.898, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.868e-05/1.915e-05, allocations: 0 / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2659, allocations: 48.69 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.689/5.955, allocations: 2.484 GB / 2.797 GB, free: 105 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/5.955, allocations: 83.89 kB / 2.797 GB, free: 105 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.548/7.503, allocations: 403.5 MB / 3.191 GB, free: 22.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.003e-06/7.503, allocations: 0 / 3.191 GB, free: 22.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.6e-05/7.503, allocations: 14.5 kB / 3.191 GB, free: 22.13 MB / 426.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.005354/7.508, allocations: 1.6 MB / 3.193 GB, free: 20.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/7.508, allocations: 8.031 kB / 3.193 GB, free: 20.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002853/7.511, allocations: 291.5 kB / 3.193 GB, free: 20.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/7.512, allocations: 0.5466 MB / 3.193 GB, free: 19.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.818e-05/7.512, allocations: 28 kB / 3.193 GB, free: 19.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.256e-05/7.512, allocations: 28 kB / 3.193 GB, free: 19.58 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001113/7.514, allocations: 0.5063 MB / 3.194 GB, free: 19.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/7.515, allocations: 0.6315 MB / 3.195 GB, free: 18.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/7.515, allocations: 3.938 kB / 3.195 GB, free: 18.37 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-05/7.515, allocations: 7.953 kB / 3.195 GB, free: 18.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/7.515, allocations: 21.31 kB / 3.195 GB, free: 18.34 MB / 426.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.3509/7.866, allocations: 36.43 MB / 3.23 GB, free: 51.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009274/7.867, allocations: 377.5 kB / 3.231 GB, free: 51.72 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003796/7.867, allocations: 185 kB / 3.231 GB, free: 51.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03809/7.905, allocations: 20.01 MB / 3.25 GB, free: 39.05 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/7.905, allocations: 34.83 kB / 3.25 GB, free: 39.02 MB / 442.7 MB Notification: Performance of pre-optimization done (n=39): time 3.687e-06/7.905, allocations: 0 / 3.25 GB, free: 39.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=53): time 0.01085/7.916, allocations: 2.339 MB / 3.253 GB, free: 38.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/7.916, allocations: 114.5 kB / 3.253 GB, free: 38.56 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005513/7.917, allocations: 363.1 kB / 3.253 GB, free: 38.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.517e-05/7.917, allocations: 25.7 kB / 3.253 GB, free: 38.42 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/7.917, allocations: 393.9 kB / 3.253 GB, free: 38.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/7.917, allocations: 173.5 kB / 3.254 GB, free: 38.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.764e-05/7.917, allocations: 3.656 kB / 3.254 GB, free: 38.09 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.259e-05/7.917, allocations: 334.9 kB / 3.254 GB, free: 37.78 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004309/7.918, allocations: 214.9 kB / 3.254 GB, free: 37.78 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005209/7.918, allocations: 418.2 kB / 3.255 GB, free: 37.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/7.92, allocations: 380.8 kB / 3.255 GB, free: 37.54 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/7.92, allocations: 3.312 kB / 3.255 GB, free: 37.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003925/7.924, allocations: 0.9703 MB / 3.256 GB, free: 37.47 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004725/7.925, allocations: 2.361 MB / 3.258 GB, free: 35.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/7.925, allocations: 9.062 kB / 3.258 GB, free: 35.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002456/7.927, allocations: 418 kB / 3.259 GB, free: 35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006158/7.928, allocations: 148.6 kB / 3.259 GB, free: 35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/7.93, allocations: 1.549 MB / 3.26 GB, free: 33.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/7.931, allocations: 88.52 kB / 3.26 GB, free: 33.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/7.931, allocations: 37.41 kB / 3.26 GB, free: 33.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/7.931, allocations: 8.078 kB / 3.26 GB, free: 33.95 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003992/7.935, allocations: 0.8844 MB / 3.261 GB, free: 33.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/7.935, allocations: 7.922 kB / 3.261 GB, free: 33.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001693/7.937, allocations: 328.7 kB / 3.262 GB, free: 33.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006994/7.938, allocations: 140.8 kB / 3.262 GB, free: 33.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/7.94, allocations: 1.443 MB / 3.263 GB, free: 32.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008857/7.94, allocations: 88.36 kB / 3.263 GB, free: 32.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-05/7.941, allocations: 37.75 kB / 3.263 GB, free: 32.85 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.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 (62): * Single equations (assignments): 60 * 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.0002973/7.941, allocations: 133.1 kB / 3.263 GB, free: 32.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/7.941, allocations: 56.59 kB / 3.263 GB, free: 32.72 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004997/7.946, allocations: 2.915 MB / 3.266 GB, free: 32.48 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-05/7.946, allocations: 48.95 kB / 3.266 GB, free: 32.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.157e-06/7.946, allocations: 0 / 3.266 GB, free: 32.48 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/7.946, allocations: 3.797 kB / 3.266 GB, free: 32.48 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006805/7.953, allocations: 3.848 MB / 3.27 GB, free: 32.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/7.953, allocations: 3.938 kB / 3.27 GB, free: 32.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000411/7.953, allocations: 86.95 kB / 3.27 GB, free: 32.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002379/7.956, allocations: 0.9572 MB / 3.271 GB, free: 32.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-05/7.956, allocations: 13.81 kB / 3.271 GB, free: 32.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002217/7.958, allocations: 2.118 MB / 3.273 GB, free: 30.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.677e-06/7.958, allocations: 0 / 3.273 GB, free: 30.95 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003867/7.962, allocations: 2.011 MB / 3.275 GB, free: 30.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005005/7.963, allocations: 276.8 kB / 3.275 GB, free: 30.49 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/7.963, allocations: 0 / 3.275 GB, free: 30.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007198/7.963, allocations: 78.92 kB / 3.275 GB, free: 30.49 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/7.964, allocations: 54.34 kB / 3.275 GB, free: 30.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.64e-05/7.964, allocations: 25.69 kB / 3.276 GB, free: 30.48 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004499/7.964, allocations: 324.5 kB / 3.276 GB, free: 30.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.97e-07/7.964, allocations: 0 / 3.276 GB, free: 30.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00517/7.969, allocations: 1.338 MB / 3.277 GB, free: 30.39 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: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.008298/7.978, allocations: 1.806 MB / 3.279 GB, free: 30.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003245/7.981, allocations: 1.338 MB / 3.28 GB, free: 30.19 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.186e-06/7.981, allocations: 0 / 3.28 GB, free: 30.19 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001251/7.982, allocations: 0.7663 MB / 3.281 GB, free: 30.19 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/7.984, allocations: 257.2 kB / 3.281 GB, free: 30.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002856/7.987, allocations: 1.63 MB / 3.283 GB, free: 29.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005494/7.987, allocations: 1.101 MB / 3.284 GB, free: 29.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/7.988, allocations: 64.92 kB / 3.284 GB, free: 29.06 MB / 442.7 MB Notification: Performance of SimCode: time 1.646e-06/7.988, allocations: 1.5 kB / 3.284 GB, free: 29.06 MB / 442.7 MB Notification: Performance of Templates: time 0.06042/8.048, allocations: 41.13 MB / 3.324 GB, free: 25.8 MB / 442.7 MB