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.857/1.857, allocations: 209.3 MB / 222.4 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.861e-05/2.882e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08562/0.08567, allocations: 48.7 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.165/6.251, allocations: 2.485 GB / 2.804 GB, free: 73.37 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003708/6.252, allocations: 86.56 kB / 2.804 GB, free: 73.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.685/7.937, allocations: 407.4 MB / 3.202 GB, free: 10.49 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.964e-06/7.937, allocations: 3.984 kB / 3.202 GB, free: 10.49 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.887e-05/7.937, allocations: 19.94 kB / 3.202 GB, free: 10.47 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.006474/7.943, allocations: 1.589 MB / 3.203 GB, free: 8.836 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/7.943, allocations: 12.03 kB / 3.203 GB, free: 8.824 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003084/7.946, allocations: 295.3 kB / 3.204 GB, free: 8.539 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/7.948, allocations: 0.5366 MB / 3.204 GB, free: 7.969 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.968e-05/7.948, allocations: 53.25 kB / 3.204 GB, free: 7.918 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/7.948, allocations: 52 kB / 3.204 GB, free: 7.867 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002955/7.951, allocations: 0.9346 MB / 3.205 GB, free: 6.863 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/7.951, allocations: 7.938 kB / 3.205 GB, free: 6.855 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.802e-05/7.951, allocations: 23.98 kB / 3.205 GB, free: 6.832 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.282e-05/7.951, allocations: 28.94 kB / 3.205 GB, free: 6.805 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002708/7.954, allocations: 0.7844 MB / 3.206 GB, free: 6.02 MB / 442.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.00722/7.961, allocations: 4.557 MB / 3.211 GB, free: 1.082 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0026/7.964, allocations: 0.6681 MB / 3.211 GB, free: 416 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004911/7.964, allocations: 205.5 kB / 3.211 GB, free: 208 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3109/8.275, allocations: 21.39 MB / 3.232 GB, free: 35.9 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/8.275, allocations: 39.5 kB / 3.232 GB, free: 35.86 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 4.084e-06/8.275, allocations: 0 / 3.232 GB, free: 35.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.0119/8.287, allocations: 2.773 MB / 3.235 GB, free: 35.54 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/8.287, allocations: 108.7 kB / 3.235 GB, free: 35.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000582/8.288, allocations: 373 kB / 3.235 GB, free: 35.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.986e-05/8.288, allocations: 35.7 kB / 3.236 GB, free: 35.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/8.288, allocations: 372.9 kB / 3.236 GB, free: 35.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/8.288, allocations: 198.8 kB / 3.236 GB, free: 34.96 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.274e-05/8.288, allocations: 13.62 kB / 3.236 GB, free: 34.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.354e-05/8.289, allocations: 343.2 kB / 3.236 GB, free: 34.64 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005216/8.289, allocations: 223.8 kB / 3.237 GB, free: 34.64 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000639/8.29, allocations: 425.5 kB / 3.237 GB, free: 34.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006131/8.29, allocations: 279.3 kB / 3.237 GB, free: 34.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.614e-06/8.29, allocations: 0 / 3.237 GB, free: 34.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003157/8.294, allocations: 0.9318 MB / 3.238 GB, free: 34.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004911/8.294, allocations: 2.357 MB / 3.241 GB, free: 31.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/8.294, allocations: 3.781 kB / 3.241 GB, free: 31.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002608/8.297, allocations: 432.5 kB / 3.241 GB, free: 31.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007366/8.298, allocations: 145.3 kB / 3.241 GB, free: 31.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/8.299, allocations: 1.477 MB / 3.243 GB, free: 30.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/8.301, allocations: 90.48 kB / 3.243 GB, free: 30.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.981e-05/8.301, allocations: 40.56 kB / 3.243 GB, free: 30.81 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/8.301, allocations: 6.5 kB / 3.243 GB, free: 30.81 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002834/8.304, allocations: 0.8719 MB / 3.243 GB, free: 30.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/8.304, allocations: 6.656 kB / 3.243 GB, free: 30.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002097/8.306, allocations: 359.4 kB / 3.244 GB, free: 30.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000731/8.306, allocations: 154.9 kB / 3.244 GB, free: 30.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/8.308, allocations: 1.424 MB / 3.245 GB, free: 29.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000841/8.309, allocations: 89.67 kB / 3.245 GB, free: 29.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.942e-05/8.309, allocations: 40.3 kB / 3.246 GB, free: 29.72 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 () * 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.000255/8.309, allocations: 150.2 kB / 3.246 GB, free: 29.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/8.309, allocations: 58.78 kB / 3.246 GB, free: 29.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005628/8.315, allocations: 3.565 MB / 3.249 GB, free: 29.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.542e-05/8.315, allocations: 42.5 kB / 3.249 GB, free: 29.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.211e-06/8.315, allocations: 0 / 3.249 GB, free: 29.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/8.315, allocations: 3.938 kB / 3.249 GB, free: 29.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006826/8.322, allocations: 4.582 MB / 3.254 GB, free: 28.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/8.322, allocations: 0 / 3.254 GB, free: 28.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005552/8.323, allocations: 112.9 kB / 3.254 GB, free: 28.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002947/8.326, allocations: 0.9916 MB / 3.255 GB, free: 28.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.595e-05/8.326, allocations: 16.56 kB / 3.255 GB, free: 28.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002163/8.328, allocations: 1.978 MB / 3.257 GB, free: 27.65 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.685e-06/8.328, allocations: 3.188 kB / 3.257 GB, free: 27.65 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003048/8.331, allocations: 2.096 MB / 3.259 GB, free: 27.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005718/8.332, allocations: 313.5 kB / 3.259 GB, free: 27.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/8.332, allocations: 16.62 kB / 3.259 GB, free: 27.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008492/8.333, allocations: 96.3 kB / 3.259 GB, free: 27.13 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/8.333, allocations: 57.67 kB / 3.259 GB, free: 27.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.875e-05/8.333, allocations: 29.94 kB / 3.259 GB, free: 27.13 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005244/8.333, allocations: 385.9 kB / 3.26 GB, free: 27.03 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.493e-06/8.334, allocations: 0 / 3.26 GB, free: 27.03 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005621/8.339, allocations: 1.395 MB / 3.261 GB, free: 27.02 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 () * 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.008597/8.348, allocations: 1.72 MB / 3.263 GB, free: 26.83 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00355/8.351, allocations: 1.501 MB / 3.264 GB, free: 26.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/8.351, allocations: 0 / 3.264 GB, free: 26.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001576/8.353, allocations: 0.8993 MB / 3.265 GB, free: 26.78 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/8.355, allocations: 273.7 kB / 3.265 GB, free: 26.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1842/8.539, allocations: 75.79 MB / 3.339 GB, free: 17.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006137/8.54, allocations: 1.155 MB / 3.34 GB, free: 16.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/8.54, allocations: 66.78 kB / 3.34 GB, free: 16.24 MB / 442.7 MB Notification: Performance of SimCode: time 2.013e-06/8.54, allocations: 0 / 3.34 GB, free: 16.24 MB / 442.7 MB Notification: Performance of Templates: time 0.06553/8.606, allocations: 42.13 MB / 3.382 GB, free: 2.918 MB / 458.7 MB