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.TestWaterPumpDefault.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.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.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") Notification: Performance of loadModel(ModelicaTest): time 1.923/1.923, allocations: 209.4 MB / 217.3 MB, free: 4.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.53e-05/1.531e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2617, allocations: 48.68 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.015/6.277, allocations: 2.501 GB / 2.814 GB, free: 84.53 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/6.277, allocations: 81.89 kB / 2.814 GB, free: 84.49 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.928/8.205, allocations: 421.3 MB / 3.225 GB, free: 46.58 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.935e-06/8.205, allocations: 0 / 3.225 GB, free: 46.58 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.262e-05/8.205, allocations: 20.41 kB / 3.225 GB, free: 46.58 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.006256/8.212, allocations: 1.693 MB / 3.227 GB, free: 45.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/8.212, allocations: 13.39 kB / 3.227 GB, free: 45.98 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003276/8.215, allocations: 314 kB / 3.227 GB, free: 45.94 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/8.217, allocations: 0.5823 MB / 3.228 GB, free: 45.71 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.551e-05/8.217, allocations: 21.16 kB / 3.228 GB, free: 45.71 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/8.217, allocations: 32.47 kB / 3.228 GB, free: 45.71 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001374/8.218, allocations: 0.5293 MB / 3.228 GB, free: 45.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/8.219, allocations: 0.661 MB / 3.229 GB, free: 45.51 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/8.22, allocations: 1.75 kB / 3.229 GB, free: 45.51 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.713e-05/8.22, allocations: 6.578 kB / 3.229 GB, free: 45.51 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.724e-05/8.22, allocations: 20.41 kB / 3.229 GB, free: 45.5 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.09311/8.313, allocations: 36.59 MB / 3.265 GB, free: 26.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007697/8.314, allocations: 342.2 kB / 3.265 GB, free: 26.88 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003437/8.314, allocations: 185.8 kB / 3.265 GB, free: 26.87 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04453/8.359, allocations: 20.02 MB / 3.285 GB, free: 29.66 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.166e-05/8.359, allocations: 38.62 kB / 3.285 GB, free: 29.62 MB / 458.7 MB Notification: Performance of pre-optimization done (n=39): time 3.772e-06/8.359, allocations: 3.656 kB / 3.285 GB, free: 29.62 MB / 458.7 MB Notification: Performance of matching and sorting (n=55): time 0.02595/8.385, allocations: 3.271 MB / 3.288 GB, free: 29.08 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/8.385, allocations: 111.2 kB / 3.288 GB, free: 28.96 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006769/8.385, allocations: 403.5 kB / 3.289 GB, free: 28.84 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001122/8.386, allocations: 25.7 kB / 3.289 GB, free: 28.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002588/8.386, allocations: 396.2 kB / 3.289 GB, free: 28.54 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/8.386, allocations: 184.9 kB / 3.289 GB, free: 28.42 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.587e-05/8.386, allocations: 0 / 3.289 GB, free: 28.42 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001857/8.386, allocations: 337.2 kB / 3.29 GB, free: 28.11 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005641/8.387, allocations: 268.4 kB / 3.29 GB, free: 28.11 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000648/8.388, allocations: 475.5 kB / 3.29 GB, free: 27.86 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002597/8.39, allocations: 469 kB / 3.291 GB, free: 27.85 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.17e-06/8.39, allocations: 3.969 kB / 3.291 GB, free: 27.85 MB / 458.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00432/8.395, allocations: 1.078 MB / 3.292 GB, free: 27.77 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001296/8.396, allocations: 2.452 MB / 3.294 GB, free: 25.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.537e-05/8.396, allocations: 3.156 kB / 3.294 GB, free: 25.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003009/8.399, allocations: 0.5618 MB / 3.295 GB, free: 25.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007638/8.4, allocations: 159.4 kB / 3.295 GB, free: 25.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003434/8.403, allocations: 1.752 MB / 3.297 GB, free: 24.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/8.405, allocations: 101.3 kB / 3.297 GB, free: 24.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/8.405, allocations: 46 kB / 3.297 GB, free: 24.11 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/8.405, allocations: 7.094 kB / 3.297 GB, free: 24.11 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00408/8.409, allocations: 0.9347 MB / 3.298 GB, free: 24.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/8.409, allocations: 4.406 kB / 3.298 GB, free: 24.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001663/8.411, allocations: 334.6 kB / 3.298 GB, free: 24.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008309/8.412, allocations: 166.4 kB / 3.298 GB, free: 24.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/8.414, allocations: 1.466 MB / 3.3 GB, free: 22.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/8.415, allocations: 77.2 kB / 3.3 GB, free: 22.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/8.415, allocations: 43.23 kB / 3.3 GB, free: 22.98 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 (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.0003945/8.416, allocations: 141.6 kB / 3.3 GB, free: 22.86 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/8.416, allocations: 64.69 kB / 3.3 GB, free: 22.83 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006412/8.422, allocations: 3.278 MB / 3.303 GB, free: 22.52 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-05/8.422, allocations: 33.64 kB / 3.303 GB, free: 22.52 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.752e-06/8.422, allocations: 4 kB / 3.303 GB, free: 22.52 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-05/8.422, allocations: 7.656 kB / 3.303 GB, free: 22.52 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007642/8.43, allocations: 4.233 MB / 3.307 GB, free: 22.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/8.43, allocations: 5.047 kB / 3.307 GB, free: 22.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004942/8.431, allocations: 85.3 kB / 3.307 GB, free: 22.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003549/8.434, allocations: 1.522 MB / 3.309 GB, free: 21.99 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/8.434, allocations: 17.16 kB / 3.309 GB, free: 21.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003875/8.438, allocations: 2.626 MB / 3.311 GB, free: 20.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/8.438, allocations: 1.859 kB / 3.311 GB, free: 20.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00434/8.443, allocations: 2.294 MB / 3.314 GB, free: 20.59 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006835/8.443, allocations: 301.8 kB / 3.314 GB, free: 20.41 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/8.444, allocations: 3.312 kB / 3.314 GB, free: 20.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009333/8.445, allocations: 83.28 kB / 3.314 GB, free: 20.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/8.445, allocations: 57.03 kB / 3.314 GB, free: 20.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.604e-05/8.445, allocations: 31.33 kB / 3.314 GB, free: 20.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005955/8.445, allocations: 353.3 kB / 3.314 GB, free: 20.31 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.27e-07/8.445, allocations: 0 / 3.314 GB, free: 20.31 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006382/8.452, allocations: 1.488 MB / 3.316 GB, free: 20.09 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,$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.009717/8.462, allocations: 1.915 MB / 3.318 GB, free: 19.67 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003873/8.465, allocations: 1.521 MB / 3.319 GB, free: 19.63 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/8.466, allocations: 4.062 kB / 3.319 GB, free: 19.63 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001638/8.467, allocations: 0.8954 MB / 3.32 GB, free: 19.62 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/8.469, allocations: 264.3 kB / 3.32 GB, free: 19.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003391/8.472, allocations: 1.768 MB / 3.322 GB, free: 19.19 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008442/8.473, allocations: 1.115 MB / 3.323 GB, free: 18.47 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002818/8.474, allocations: 67.59 kB / 3.323 GB, free: 18.46 MB / 458.7 MB Notification: Performance of SimCode: time 1.782e-06/8.474, allocations: 3.062 kB / 3.323 GB, free: 18.46 MB / 458.7 MB Notification: Performance of Templates: time 0.06782/8.541, allocations: 44.41 MB / 3.367 GB, free: 10.73 MB / 458.7 MB