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.TestWaterPumpDefault.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,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.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") Notification: Performance of loadModel(ModelicaTest): time 2.152/2.152, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.088e-05/2.11e-05, allocations: 4 kB / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2739, allocations: 54.85 MB / 358 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.445/6.719, allocations: 2.612 GB / 2.962 GB, free: 100.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/6.719, allocations: 85.89 kB / 2.962 GB, free: 100.8 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.836/8.555, allocations: 432 MB / 3.383 GB, free: 33.69 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.471e-06/8.555, allocations: 0 / 3.383 GB, free: 33.69 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.503e-05/8.555, allocations: 23.91 kB / 3.383 GB, free: 33.67 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.005852/8.561, allocations: 1.735 MB / 3.385 GB, free: 32.04 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/8.561, allocations: 8.031 kB / 3.385 GB, free: 32.03 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003185/8.564, allocations: 330.9 kB / 3.385 GB, free: 31.78 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/8.566, allocations: 0.588 MB / 3.386 GB, free: 31.25 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.361e-05/8.566, allocations: 28 kB / 3.386 GB, free: 31.22 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/8.566, allocations: 32 kB / 3.386 GB, free: 31.19 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001188/8.567, allocations: 0.5331 MB / 3.387 GB, free: 30.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/8.568, allocations: 0.649 MB / 3.387 GB, free: 30.07 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/8.568, allocations: 0 / 3.387 GB, free: 30.07 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.218e-05/8.569, allocations: 4 kB / 3.387 GB, free: 30.07 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.876e-05/8.569, allocations: 29.3 kB / 3.387 GB, free: 30.04 MB / 474.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.08868/8.657, allocations: 36.6 MB / 3.423 GB, free: 6.027 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008866/8.658, allocations: 347.3 kB / 3.423 GB, free: 5.684 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000418/8.659, allocations: 189.5 kB / 3.424 GB, free: 5.496 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3421/9.001, allocations: 20.02 MB / 3.443 GB, free: 55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/9.001, allocations: 36.33 kB / 3.443 GB, free: 54.96 MB / 490.7 MB Notification: Performance of pre-optimization done (n=39): time 3.663e-06/9.001, allocations: 0 / 3.443 GB, free: 54.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=55): time 0.02762/9.029, allocations: 3.259 MB / 3.446 GB, free: 54.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/9.029, allocations: 117.1 kB / 3.446 GB, free: 54.42 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006147/9.029, allocations: 404.7 kB / 3.447 GB, free: 54.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.385e-05/9.029, allocations: 29.52 kB / 3.447 GB, free: 54.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/9.03, allocations: 397.4 kB / 3.447 GB, free: 54.04 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/9.03, allocations: 183.7 kB / 3.447 GB, free: 53.94 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-05/9.03, allocations: 0 / 3.447 GB, free: 53.94 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.585e-05/9.03, allocations: 339.4 kB / 3.448 GB, free: 53.62 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005785/9.03, allocations: 271.4 kB / 3.448 GB, free: 53.62 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006672/9.031, allocations: 477.8 kB / 3.448 GB, free: 53.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002509/9.034, allocations: 468.3 kB / 3.449 GB, free: 53.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.477e-06/9.034, allocations: 7.969 kB / 3.449 GB, free: 53.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.004353/9.038, allocations: 1.082 MB / 3.45 GB, free: 53.31 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004896/9.039, allocations: 2.44 MB / 3.452 GB, free: 50.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/9.039, allocations: 3.844 kB / 3.452 GB, free: 50.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002925/9.042, allocations: 0.5761 MB / 3.453 GB, free: 50.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007516/9.042, allocations: 157.8 kB / 3.453 GB, free: 50.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003064/9.045, allocations: 1.751 MB / 3.455 GB, free: 49.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/9.047, allocations: 101.6 kB / 3.455 GB, free: 49.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001748/9.047, allocations: 51.39 kB / 3.455 GB, free: 49.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/9.047, allocations: 6.719 kB / 3.455 GB, free: 49.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004472/9.052, allocations: 0.9278 MB / 3.456 GB, free: 49.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/9.052, allocations: 3.781 kB / 3.456 GB, free: 49.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001856/9.054, allocations: 334 kB / 3.456 GB, free: 49.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008039/9.054, allocations: 171.3 kB / 3.456 GB, free: 49.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/9.056, allocations: 1.456 MB / 3.458 GB, free: 48.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009744/9.057, allocations: 85.53 kB / 3.458 GB, free: 48.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.8e-05/9.057, allocations: 35.86 kB / 3.458 GB, free: 48.61 MB / 490.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 (65): * Single equations (assignments): 63 * 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 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003406/9.058, allocations: 132.7 kB / 3.458 GB, free: 48.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/9.058, allocations: 63.91 kB / 3.458 GB, free: 48.47 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006303/9.064, allocations: 3.283 MB / 3.461 GB, free: 48.22 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-05/9.064, allocations: 38.8 kB / 3.461 GB, free: 48.22 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.669e-06/9.064, allocations: 3.5 kB / 3.461 GB, free: 48.22 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/9.064, allocations: 6.578 kB / 3.461 GB, free: 48.22 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007023/9.071, allocations: 4.243 MB / 3.465 GB, free: 47.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/9.071, allocations: 0 / 3.465 GB, free: 47.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004656/9.072, allocations: 90.08 kB / 3.466 GB, free: 47.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003463/9.075, allocations: 1.525 MB / 3.467 GB, free: 47.75 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-05/9.076, allocations: 9.984 kB / 3.467 GB, free: 47.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003442/9.079, allocations: 2.637 MB / 3.47 GB, free: 46.66 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.429e-06/9.079, allocations: 3.969 kB / 3.47 GB, free: 46.66 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00411/9.083, allocations: 2.293 MB / 3.472 GB, free: 46.36 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005741/9.084, allocations: 303.8 kB / 3.472 GB, free: 46.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/9.084, allocations: 0 / 3.472 GB, free: 46.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009786/9.085, allocations: 85.56 kB / 3.472 GB, free: 46.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/9.085, allocations: 51.56 kB / 3.472 GB, free: 46.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.521e-05/9.085, allocations: 30.16 kB / 3.472 GB, free: 46.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005192/9.086, allocations: 355.7 kB / 3.473 GB, free: 46.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.28e-07/9.086, allocations: 0 / 3.473 GB, free: 46.12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00577/9.092, allocations: 1.496 MB / 3.474 GB, free: 46.12 MB / 490.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 (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 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.009074/9.101, allocations: 1.914 MB / 3.476 GB, free: 45.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003652/9.104, allocations: 1.514 MB / 3.477 GB, free: 45.92 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.263e-06/9.104, allocations: 1.875 kB / 3.477 GB, free: 45.92 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001586/9.106, allocations: 0.8981 MB / 3.478 GB, free: 45.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/9.108, allocations: 260.1 kB / 3.479 GB, free: 45.89 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/9.111, allocations: 1.771 MB / 3.48 GB, free: 45.48 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005812/9.112, allocations: 1.116 MB / 3.481 GB, free: 44.78 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/9.112, allocations: 70.25 kB / 3.481 GB, free: 44.77 MB / 490.7 MB Notification: Performance of SimCode: time 1.823e-06/9.112, allocations: 0 / 3.481 GB, free: 44.77 MB / 490.7 MB Notification: Performance of Templates: time 0.06741/9.18, allocations: 44.61 MB / 3.525 GB, free: 41.21 MB / 490.7 MB