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.TestWaterPumpDefaultLV.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") Notification: Performance of loadModel(ModelicaTest): time 2.157/2.157, allocations: 235 MB / 248.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.129e-05/3.139e-05, allocations: 4 kB / 309.7 MB, free: 1.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3176, allocations: 54.85 MB / 364.5 MB, free: 5.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.863/6.18, allocations: 2.596 GB / 2.952 GB, free: 2.93 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/6.18, allocations: 84.45 kB / 2.952 GB, free: 2.887 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984/8.165, allocations: 417.8 MB / 3.36 GB, free: 61.08 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.225e-06/8.165, allocations: 3.656 kB / 3.36 GB, free: 61.08 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.252e-05/8.165, allocations: 21.08 kB / 3.36 GB, free: 61.08 MB / 490.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.005697/8.171, allocations: 1.647 MB / 3.362 GB, free: 60.43 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/8.171, allocations: 9.406 kB / 3.362 GB, free: 60.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002915/8.173, allocations: 303.8 kB / 3.362 GB, free: 60.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/8.175, allocations: 0.5424 MB / 3.362 GB, free: 60.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.627e-05/8.175, allocations: 45.44 kB / 3.362 GB, free: 60.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/8.175, allocations: 51.06 kB / 3.362 GB, free: 60.16 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002572/8.177, allocations: 0.9488 MB / 3.363 GB, free: 59.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/8.178, allocations: 4.188 kB / 3.363 GB, free: 59.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.311e-05/8.178, allocations: 22.75 kB / 3.363 GB, free: 59.95 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.272e-05/8.178, allocations: 25.11 kB / 3.363 GB, free: 59.95 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002316/8.18, allocations: 0.7733 MB / 3.364 GB, free: 59.95 MB / 490.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.00517/8.185, allocations: 4.562 MB / 3.369 GB, free: 56.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002363/8.188, allocations: 0.6693 MB / 3.369 GB, free: 56.72 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004197/8.188, allocations: 213.9 kB / 3.369 GB, free: 56.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04455/8.233, allocations: 21.44 MB / 3.39 GB, free: 43.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/8.233, allocations: 42.05 kB / 3.39 GB, free: 43.15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 3.765e-06/8.233, allocations: 0 / 3.39 GB, free: 43.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=58): time 0.01103/8.244, allocations: 2.77 MB / 3.393 GB, free: 42.75 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/8.244, allocations: 110.1 kB / 3.393 GB, free: 42.63 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005356/8.244, allocations: 371.2 kB / 3.394 GB, free: 42.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.791e-05/8.244, allocations: 42.8 kB / 3.394 GB, free: 42.49 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/8.245, allocations: 377.4 kB / 3.394 GB, free: 42.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/8.245, allocations: 193.3 kB / 3.394 GB, free: 42.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.503e-05/8.245, allocations: 12.5 kB / 3.394 GB, free: 42.11 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.541e-05/8.245, allocations: 344.4 kB / 3.395 GB, free: 41.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005159/8.246, allocations: 224.2 kB / 3.395 GB, free: 41.79 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005946/8.246, allocations: 419.7 kB / 3.395 GB, free: 41.56 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000603/8.247, allocations: 278.4 kB / 3.395 GB, free: 41.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.242e-06/8.247, allocations: 3.781 kB / 3.395 GB, free: 41.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002741/8.25, allocations: 0.9305 MB / 3.396 GB, free: 41.47 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004604/8.25, allocations: 2.354 MB / 3.399 GB, free: 39.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/8.25, allocations: 3.906 kB / 3.399 GB, free: 39.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00238/8.252, allocations: 436.9 kB / 3.399 GB, free: 39.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006607/8.253, allocations: 147.9 kB / 3.399 GB, free: 39.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/8.255, allocations: 1.478 MB / 3.401 GB, free: 37.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009285/8.256, allocations: 86.5 kB / 3.401 GB, free: 37.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-05/8.256, allocations: 39.09 kB / 3.401 GB, free: 37.96 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/8.256, allocations: 3.781 kB / 3.401 GB, free: 37.96 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002565/8.259, allocations: 0.876 MB / 3.402 GB, free: 37.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/8.259, allocations: 6.344 kB / 3.402 GB, free: 37.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001809/8.26, allocations: 366 kB / 3.402 GB, free: 37.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006067/8.261, allocations: 138.2 kB / 3.402 GB, free: 37.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/8.262, allocations: 1.435 MB / 3.404 GB, free: 36.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007568/8.263, allocations: 89 kB / 3.404 GB, free: 36.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.475e-05/8.263, allocations: 35.41 kB / 3.404 GB, free: 36.86 MB / 490.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 () * 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.0002339/8.264, allocations: 149.4 kB / 3.404 GB, free: 36.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/8.264, allocations: 57.5 kB / 3.404 GB, free: 36.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00516/8.269, allocations: 3.562 MB / 3.407 GB, free: 36.35 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.312e-05/8.269, allocations: 46.72 kB / 3.407 GB, free: 36.35 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.512e-06/8.269, allocations: 0 / 3.407 GB, free: 36.35 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/8.269, allocations: 3.75 kB / 3.407 GB, free: 36.35 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006296/8.275, allocations: 4.584 MB / 3.412 GB, free: 35.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/8.275, allocations: 3.891 kB / 3.412 GB, free: 35.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004848/8.276, allocations: 110.7 kB / 3.412 GB, free: 35.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002608/8.279, allocations: 0.9903 MB / 3.413 GB, free: 35.78 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.584e-05/8.279, allocations: 21.2 kB / 3.413 GB, free: 35.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/8.281, allocations: 1.967 MB / 3.415 GB, free: 34.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.808e-06/8.281, allocations: 5.094 kB / 3.415 GB, free: 34.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002777/8.283, allocations: 2.106 MB / 3.417 GB, free: 34.36 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004501/8.284, allocations: 313.3 kB / 3.417 GB, free: 34.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/8.284, allocations: 14.19 kB / 3.417 GB, free: 34.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007552/8.285, allocations: 87.3 kB / 3.417 GB, free: 34.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/8.285, allocations: 61.52 kB / 3.417 GB, free: 34.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.142e-05/8.285, allocations: 28.64 kB / 3.417 GB, free: 34.16 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005249/8.286, allocations: 389.9 kB / 3.418 GB, free: 34.06 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.93e-07/8.286, allocations: 0 / 3.418 GB, free: 34.06 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005458/8.291, allocations: 1.409 MB / 3.419 GB, free: 33.87 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: 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 () * 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.008182/8.299, allocations: 1.744 MB / 3.421 GB, free: 33.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003457/8.303, allocations: 1.497 MB / 3.422 GB, free: 33.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.513e-06/8.303, allocations: 96 / 3.422 GB, free: 33.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001457/8.304, allocations: 0.9057 MB / 3.423 GB, free: 33.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/8.306, allocations: 272.7 kB / 3.423 GB, free: 33.47 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1687/8.475, allocations: 77.06 MB / 3.499 GB, free: 13.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006507/8.475, allocations: 1.159 MB / 3.5 GB, free: 11.99 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/8.476, allocations: 63.19 kB / 3.5 GB, free: 11.93 MB / 490.7 MB Notification: Performance of SimCode: time 1.85e-06/8.476, allocations: 0 / 3.5 GB, free: 11.93 MB / 490.7 MB Notification: Performance of Templates: time 0.3592/8.835, allocations: 42.33 MB / 3.541 GB, free: 70.89 MB / 0.4948 GB