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.TestWaterPumpDefaultCV.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.TestWaterPumpDefaultCV,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|Valve.minLimiter.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") Notification: Performance of loadModel(ModelicaTest): time 1.988/1.988, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.466e-05/1.483e-05, allocations: 0 / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2656, allocations: 48.68 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.854/6.119, allocations: 2.502 GB / 2.814 GB, free: 1.426 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/6.12, allocations: 83.77 kB / 2.814 GB, free: 1.383 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.852/7.972, allocations: 422.4 MB / 3.227 GB, free: 40.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.11e-06/7.972, allocations: 0 / 3.227 GB, free: 40.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.331e-05/7.972, allocations: 23.39 kB / 3.227 GB, free: 40.71 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.006011/7.978, allocations: 1.729 MB / 3.229 GB, free: 39.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/7.978, allocations: 7.312 kB / 3.229 GB, free: 39.74 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003185/7.981, allocations: 318.4 kB / 3.229 GB, free: 39.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/7.983, allocations: 0.5877 MB / 3.229 GB, free: 39.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.626e-05/7.983, allocations: 27.69 kB / 3.23 GB, free: 39.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/7.983, allocations: 32.89 kB / 3.23 GB, free: 39.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001242/7.984, allocations: 0.5579 MB / 3.23 GB, free: 39.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/7.985, allocations: 0.6734 MB / 3.231 GB, free: 38.72 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/7.985, allocations: 11.11 kB / 3.231 GB, free: 38.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.981e-05/7.986, allocations: 7.875 kB / 3.231 GB, free: 38.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-05/7.986, allocations: 26.25 kB / 3.231 GB, free: 38.71 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.08378/8.069, allocations: 36.61 MB / 3.267 GB, free: 15.56 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/8.071, allocations: 447 kB / 3.267 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003702/8.071, allocations: 204.2 kB / 3.267 GB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03983/8.111, allocations: 20 MB / 3.287 GB, free: 11.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/8.111, allocations: 38.56 kB / 3.287 GB, free: 11.03 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 3.583e-06/8.111, allocations: 0 / 3.287 GB, free: 11.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=63): time 0.02761/8.139, allocations: 3.633 MB / 3.29 GB, free: 8.094 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.097e-05/8.139, allocations: 111.4 kB / 3.29 GB, free: 7.961 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007724/8.14, allocations: 418.7 kB / 3.291 GB, free: 7.578 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001247/8.14, allocations: 29.7 kB / 3.291 GB, free: 7.543 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003242/8.14, allocations: 401.6 kB / 3.291 GB, free: 7.168 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/8.14, allocations: 197 kB / 3.291 GB, free: 6.973 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-05/8.14, allocations: 0 / 3.291 GB, free: 6.973 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001912/8.141, allocations: 346.8 kB / 3.292 GB, free: 6.625 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007684/8.141, allocations: 326.6 kB / 3.292 GB, free: 6.305 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009845/8.142, allocations: 0.536 MB / 3.293 GB, free: 5.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003022/8.145, allocations: 0.5481 MB / 3.293 GB, free: 5.133 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.301e-06/8.145, allocations: 0 / 3.293 GB, free: 5.133 MB / 442.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00518/8.151, allocations: 1.302 MB / 3.294 GB, free: 3.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001291/8.152, allocations: 2.449 MB / 3.297 GB, free: 1.184 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/8.152, allocations: 11.98 kB / 3.297 GB, free: 1.172 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004381/8.156, allocations: 0.8132 MB / 3.298 GB, free: 368 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008858/8.157, allocations: 171.8 kB / 3.298 GB, free: 196 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004371/8.162, allocations: 1.952 MB / 3.3 GB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/8.163, allocations: 127.8 kB / 3.3 GB, free: 14.06 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/8.163, allocations: 47.97 kB / 3.3 GB, free: 14.02 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/8.163, allocations: 5.719 kB / 3.3 GB, free: 14.01 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004167/8.168, allocations: 0.9726 MB / 3.301 GB, free: 13.03 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/8.168, allocations: 4 kB / 3.301 GB, free: 13.03 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001757/8.169, allocations: 349 kB / 3.301 GB, free: 12.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/8.171, allocations: 195.7 kB / 3.301 GB, free: 12.49 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/8.173, allocations: 1.456 MB / 3.303 GB, free: 10.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/8.174, allocations: 99.94 kB / 3.303 GB, free: 10.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/8.174, allocations: 39.98 kB / 3.303 GB, free: 10.85 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" 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: 28 * 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 (69): * Single equations (assignments): 67 * 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 14,2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003812/8.175, allocations: 136.6 kB / 3.303 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002365/8.175, allocations: 67.23 kB / 3.303 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007342/8.182, allocations: 3.441 MB / 3.306 GB, free: 7.18 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.604e-05/8.182, allocations: 43.94 kB / 3.306 GB, free: 7.137 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/8.182, allocations: 3.953 kB / 3.306 GB, free: 7.133 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/8.182, allocations: 7.984 kB / 3.306 GB, free: 7.125 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009436/8.192, allocations: 4.621 MB / 3.311 GB, free: 2.461 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.476e-06/8.192, allocations: 0 / 3.311 GB, free: 2.461 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004537/8.192, allocations: 91.91 kB / 3.311 GB, free: 2.371 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004797/8.197, allocations: 1.714 MB / 3.313 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/8.197, allocations: 11.98 kB / 3.313 GB, free: 0.6484 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2722/8.469, allocations: 2.804 MB / 3.315 GB, free: 71.57 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.471e-06/8.469, allocations: 1.312 kB / 3.315 GB, free: 71.57 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005922/8.475, allocations: 2.586 MB / 3.318 GB, free: 71.36 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006597/8.476, allocations: 311.2 kB / 3.318 GB, free: 71.26 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/8.476, allocations: 8.266 kB / 3.318 GB, free: 71.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/8.477, allocations: 93.25 kB / 3.318 GB, free: 71.26 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/8.478, allocations: 60.25 kB / 3.318 GB, free: 71.26 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/8.478, allocations: 35.14 kB / 3.318 GB, free: 71.26 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005832/8.478, allocations: 368.1 kB / 3.319 GB, free: 71.17 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.12e-07/8.478, allocations: 0 / 3.319 GB, free: 71.17 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005924/8.484, allocations: 1.51 MB / 3.32 GB, free: 71.17 MB / 458.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,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 13,2 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.009139/8.493, allocations: 1.916 MB / 3.322 GB, free: 71.05 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004108/8.498, allocations: 1.698 MB / 3.324 GB, free: 71.02 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.296e-06/8.498, allocations: 0 / 3.324 GB, free: 71.02 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001624/8.499, allocations: 0.9637 MB / 3.325 GB, free: 71.01 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/8.501, allocations: 272.5 kB / 3.325 GB, free: 71.01 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003294/8.504, allocations: 1.832 MB / 3.327 GB, free: 70.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006029/8.505, allocations: 1.13 MB / 3.328 GB, free: 69.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002932/8.505, allocations: 68.33 kB / 3.328 GB, free: 69.89 MB / 458.7 MB Notification: Performance of SimCode: time 1.638e-06/8.505, allocations: 3.5 kB / 3.328 GB, free: 69.89 MB / 458.7 MB Notification: Performance of Templates: time 0.06712/8.572, allocations: 45.27 MB / 3.372 GB, free: 67.28 MB / 458.7 MB