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/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.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.874/1.874, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004564/0.0004566, allocations: 24 kB / 282.6 MB, free: 9.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3023, allocations: 48.69 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.933/6.236, allocations: 2.503 GB / 2.826 GB, free: 31.11 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/6.236, allocations: 87.94 kB / 2.826 GB, free: 31.02 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.91/8.146, allocations: 427.7 MB / 3.244 GB, free: 48.92 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.688e-06/8.146, allocations: 0.9375 kB / 3.244 GB, free: 48.92 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.967e-05/8.146, allocations: 18.12 kB / 3.244 GB, free: 48.91 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.006401/8.152, allocations: 1.816 MB / 3.246 GB, free: 48.05 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/8.152, allocations: 7.906 kB / 3.246 GB, free: 48.05 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003438/8.156, allocations: 321.3 kB / 3.246 GB, free: 48.01 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/8.157, allocations: 0.5905 MB / 3.246 GB, free: 47.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.611e-05/8.157, allocations: 48.12 kB / 3.246 GB, free: 47.75 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/8.158, allocations: 64.42 kB / 3.247 GB, free: 47.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002896/8.16, allocations: 1.015 MB / 3.248 GB, free: 47.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/8.161, allocations: 3.719 kB / 3.248 GB, free: 47.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/8.161, allocations: 31.92 kB / 3.248 GB, free: 47.54 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.734e-05/8.161, allocations: 27.12 kB / 3.248 GB, free: 47.54 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003136/8.164, allocations: 0.9314 MB / 3.249 GB, free: 47.53 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.006122/8.17, allocations: 4.741 MB / 3.253 GB, free: 44.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00308/8.173, allocations: 0.8172 MB / 3.254 GB, free: 44.28 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04551/8.219, allocations: 21.33 MB / 3.275 GB, free: 30.75 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/8.219, allocations: 41.97 kB / 3.275 GB, free: 30.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=47): time 3.7e-06/8.219, allocations: 0 / 3.275 GB, free: 30.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=68): time 0.03241/8.251, allocations: 4.835 MB / 3.28 GB, free: 29.92 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/8.251, allocations: 110.1 kB / 3.28 GB, free: 29.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006975/8.252, allocations: 452.8 kB / 3.28 GB, free: 29.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000106/8.252, allocations: 33.08 kB / 3.28 GB, free: 29.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/8.252, allocations: 395.7 kB / 3.28 GB, free: 29.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/8.252, allocations: 229.2 kB / 3.281 GB, free: 29.24 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.008e-05/8.253, allocations: 22.47 kB / 3.281 GB, free: 29.24 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.818e-05/8.253, allocations: 343.5 kB / 3.281 GB, free: 28.93 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001521/8.254, allocations: 462.9 kB / 3.281 GB, free: 28.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/8.256, allocations: 0.6638 MB / 3.282 GB, free: 28.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/8.258, allocations: 0.504 MB / 3.283 GB, free: 28.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/8.258, allocations: 0 / 3.283 GB, free: 28.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.004829/8.262, allocations: 1.47 MB / 3.284 GB, free: 28.54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004868/8.263, allocations: 2.446 MB / 3.286 GB, free: 25.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/8.263, allocations: 7.594 kB / 3.286 GB, free: 25.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01015/8.273, allocations: 1.451 MB / 3.288 GB, free: 25.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008995/8.274, allocations: 176.5 kB / 3.288 GB, free: 25.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003808/8.278, allocations: 1.909 MB / 3.29 GB, free: 24.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/8.279, allocations: 119.9 kB / 3.29 GB, free: 24.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/8.28, allocations: 49.89 kB / 3.29 GB, free: 24.81 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/8.28, allocations: 7.562 kB / 3.29 GB, free: 24.81 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00505/8.285, allocations: 1.422 MB / 3.291 GB, free: 24.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/8.285, allocations: 8.562 kB / 3.291 GB, free: 24.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004844/8.29, allocations: 0.816 MB / 3.292 GB, free: 24.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009465/8.291, allocations: 185.3 kB / 3.292 GB, free: 24.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003276/8.294, allocations: 1.791 MB / 3.294 GB, free: 23.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/8.295, allocations: 118 kB / 3.294 GB, free: 23.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/8.295, allocations: 53.7 kB / 3.294 GB, free: 23.62 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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.0005917/8.296, allocations: 305 kB / 3.295 GB, free: 23.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/8.296, allocations: 65.97 kB / 3.295 GB, free: 23.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00734/8.303, allocations: 4.032 MB / 3.299 GB, free: 21.83 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.536e-05/8.303, allocations: 48.44 kB / 3.299 GB, free: 21.81 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.351e-06/8.303, allocations: 0 / 3.299 GB, free: 21.81 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.619e-05/8.303, allocations: 11.53 kB / 3.299 GB, free: 21.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009823/8.313, allocations: 5.529 MB / 3.304 GB, free: 19.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.747e-06/8.313, allocations: 0 / 3.304 GB, free: 19.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005253/8.314, allocations: 108.5 kB / 3.304 GB, free: 19.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01019/8.324, allocations: 2.162 MB / 3.306 GB, free: 18.89 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001383/8.324, allocations: 27.14 kB / 3.306 GB, free: 18.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004189/8.329, allocations: 2.583 MB / 3.309 GB, free: 17.22 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.997e-06/8.329, allocations: 5.828 kB / 3.309 GB, free: 17.22 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006446/8.335, allocations: 2.946 MB / 3.312 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000706/8.336, allocations: 352.1 kB / 3.312 GB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/8.336, allocations: 25.8 kB / 3.312 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/8.337, allocations: 118.4 kB / 3.312 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/8.337, allocations: 65.62 kB / 3.312 GB, free: 15.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.612e-05/8.337, allocations: 28.62 kB / 3.312 GB, free: 15.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006847/8.338, allocations: 444.2 kB / 3.313 GB, free: 15.38 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.61e-07/8.338, allocations: 0 / 3.313 GB, free: 15.38 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005915/8.344, allocations: 1.586 MB / 3.314 GB, free: 15.05 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,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.009056/8.353, allocations: 1.82 MB / 3.316 GB, free: 14.57 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00639/8.359, allocations: 2.283 MB / 3.318 GB, free: 13.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.705e-06/8.36, allocations: 0 / 3.318 GB, free: 13.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002532/8.362, allocations: 1.201 MB / 3.319 GB, free: 13.29 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/8.364, allocations: 309.9 kB / 3.32 GB, free: 13.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4511/8.815, allocations: 77.36 MB / 3.395 GB, free: 57.12 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006509/8.816, allocations: 1.188 MB / 3.396 GB, free: 56.41 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002973/8.816, allocations: 70.47 kB / 3.397 GB, free: 56.41 MB / 458.7 MB Notification: Performance of SimCode: time 1.573e-06/8.816, allocations: 0 / 3.397 GB, free: 56.41 MB / 458.7 MB Notification: Performance of Templates: time 0.06734/8.884, allocations: 46.48 MB / 3.442 GB, free: 53.64 MB / 458.7 MB