Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.044/2.044, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009902/0.0009907, allocations: 16 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4374/0.4384, allocations: 48.7 MB / 331.4 MB, free: 6.414 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.264/7.702, allocations: 2.507 GB / 2.831 GB, free: 9.371 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/7.702, allocations: 86.27 kB / 2.831 GB, free: 9.324 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.387/10.09, allocations: 427.5 MB / 3.248 GB, free: 49.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.164e-06/10.09, allocations: 0 / 3.248 GB, free: 49.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.76e-05/10.09, allocations: 16.86 kB / 3.248 GB, free: 49.68 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.007957/10.1, allocations: 1.806 MB / 3.25 GB, free: 48.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/10.1, allocations: 6.562 kB / 3.25 GB, free: 48.8 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002714/10.1, allocations: 105.2 kB / 3.25 GB, free: 48.76 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003805/10.1, allocations: 333 kB / 3.251 GB, free: 48.72 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00178/10.1, allocations: 0.5921 MB / 3.251 GB, free: 48.46 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.036e-05/10.1, allocations: 54.47 kB / 3.251 GB, free: 48.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/10.1, allocations: 52.95 kB / 3.251 GB, free: 48.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003605/10.11, allocations: 1.011 MB / 3.252 GB, free: 48.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/10.11, allocations: 4.719 kB / 3.252 GB, free: 48.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/10.11, allocations: 25.27 kB / 3.252 GB, free: 48.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.163e-05/10.11, allocations: 24.53 kB / 3.252 GB, free: 48.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003921/10.11, allocations: 0.9225 MB / 3.253 GB, free: 48.24 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.007673/10.12, allocations: 4.822 MB / 3.258 GB, free: 44.85 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003717/10.12, allocations: 0.7583 MB / 3.259 GB, free: 44.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06117/10.18, allocations: 21.58 MB / 3.28 GB, free: 31.1 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/10.18, allocations: 42.27 kB / 3.28 GB, free: 31.06 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 3.988e-06/10.18, allocations: 5 kB / 3.28 GB, free: 31.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=63): time 0.04535/10.23, allocations: 4.362 MB / 3.284 GB, free: 30.42 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/10.23, allocations: 109.6 kB / 3.284 GB, free: 30.29 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000741/10.23, allocations: 442 kB / 3.284 GB, free: 30.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.431e-05/10.23, allocations: 37.02 kB / 3.285 GB, free: 30.13 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/10.23, allocations: 391.4 kB / 3.285 GB, free: 29.87 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000229/10.23, allocations: 213.6 kB / 3.285 GB, free: 29.74 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.869e-05/10.23, allocations: 13.84 kB / 3.285 GB, free: 29.74 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.165e-05/10.23, allocations: 340.6 kB / 3.285 GB, free: 29.42 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/10.23, allocations: 382.2 kB / 3.286 GB, free: 29.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/10.23, allocations: 0.5951 MB / 3.286 GB, free: 29.15 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/10.24, allocations: 439.8 kB / 3.287 GB, free: 29.13 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/10.24, allocations: 3.406 kB / 3.287 GB, free: 29.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004509/10.24, allocations: 1.23 MB / 3.288 GB, free: 29.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000602/10.24, allocations: 2.448 MB / 3.29 GB, free: 26.47 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/10.24, allocations: 3.969 kB / 3.29 GB, free: 26.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006899/10.25, allocations: 0.9017 MB / 3.291 GB, free: 26.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/10.25, allocations: 170.1 kB / 3.291 GB, free: 26.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003295/10.25, allocations: 1.688 MB / 3.293 GB, free: 25.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/10.25, allocations: 108.1 kB / 3.293 GB, free: 25.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/10.25, allocations: 47.34 kB / 3.293 GB, free: 25.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/10.25, allocations: 3.969 kB / 3.293 GB, free: 25.34 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004691/10.26, allocations: 1.215 MB / 3.294 GB, free: 25.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/10.26, allocations: 3.781 kB / 3.294 GB, free: 25.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003719/10.26, allocations: 0.5939 MB / 3.295 GB, free: 25.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/10.26, allocations: 169.6 kB / 3.295 GB, free: 25.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003025/10.27, allocations: 1.629 MB / 3.297 GB, free: 24.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/10.27, allocations: 108.5 kB / 3.297 GB, free: 24.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/10.27, allocations: 47.16 kB / 3.297 GB, free: 24.17 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 (69): * Single equations (assignments): 67 * 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.0006216/10.27, allocations: 296.9 kB / 3.297 GB, free: 23.94 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/10.27, allocations: 64.12 kB / 3.297 GB, free: 23.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007776/10.28, allocations: 3.857 MB / 3.301 GB, free: 22.13 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.275e-05/10.28, allocations: 46.31 kB / 3.301 GB, free: 22.12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/10.28, allocations: 0 / 3.301 GB, free: 22.12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/10.28, allocations: 3.797 kB / 3.301 GB, free: 22.12 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009828/10.29, allocations: 5.193 MB / 3.306 GB, free: 19.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/10.29, allocations: 3.438 kB / 3.306 GB, free: 19.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007528/10.29, allocations: 119 kB / 3.306 GB, free: 19.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007145/10.29, allocations: 1.624 MB / 3.308 GB, free: 19.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001177/10.29, allocations: 22.67 kB / 3.308 GB, free: 19.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003722/10.3, allocations: 2.373 MB / 3.31 GB, free: 17.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/10.3, allocations: 0 / 3.31 GB, free: 17.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005612/10.3, allocations: 2.637 MB / 3.313 GB, free: 16.47 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006248/10.31, allocations: 349.9 kB / 3.313 GB, free: 16.21 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/10.31, allocations: 14.59 kB / 3.313 GB, free: 16.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/10.31, allocations: 100.6 kB / 3.313 GB, free: 16.18 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/10.31, allocations: 63.03 kB / 3.313 GB, free: 16.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.331e-05/10.31, allocations: 39.39 kB / 3.313 GB, free: 16.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007178/10.31, allocations: 430.9 kB / 3.314 GB, free: 15.97 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.01e-07/10.31, allocations: 0 / 3.314 GB, free: 15.97 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007184/10.31, allocations: 1.553 MB / 3.315 GB, free: 15.65 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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.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 (52): * Single equations (assignments): 41 * 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 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01701/10.33, allocations: 4.798 MB / 3.32 GB, free: 13.48 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006925/10.34, allocations: 2.035 MB / 3.322 GB, free: 12.79 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/10.34, allocations: 0 / 3.322 GB, free: 12.79 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002539/10.34, allocations: 1.125 MB / 3.323 GB, free: 12.29 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/10.34, allocations: 300.3 kB / 3.323 GB, free: 12.21 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5909/10.93, allocations: 82.66 MB / 3.404 GB, free: 53.63 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007179/10.94, allocations: 1.183 MB / 3.405 GB, free: 52.92 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008625/10.94, allocations: 447.5 kB / 3.406 GB, free: 52.92 MB / 458.7 MB Notification: Performance of SimCode: time 2.134e-06/10.94, allocations: 0 / 3.406 GB, free: 52.92 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.907/14.84, allocations: 49.46 MB / 3.454 GB, free: 49.81 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat does not exist to compare? outputFormat=mat