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.TestWaterPumpDefault.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.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.918/1.918, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004561/0.0004565, allocations: 16 kB / 282.7 MB, free: 9.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3498, allocations: 48.7 MB / 331.4 MB, free: 6.543 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.994/7.344, allocations: 2.502 GB / 2.826 GB, free: 14.84 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/7.344, allocations: 90.33 kB / 2.826 GB, free: 14.79 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.366/9.71, allocations: 426.5 MB / 3.242 GB, free: 48.66 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.334e-06/9.71, allocations: 0 / 3.242 GB, free: 48.66 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000242/9.71, allocations: 20.95 kB / 3.242 GB, free: 48.66 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.01439/9.725, allocations: 1.781 MB / 3.244 GB, free: 47.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.664e-05/9.725, allocations: 11.41 kB / 3.244 GB, free: 47.82 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000532/9.725, allocations: 105.5 kB / 3.244 GB, free: 47.78 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007503/9.733, allocations: 311.6 kB / 3.244 GB, free: 47.74 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00178/9.735, allocations: 0.5771 MB / 3.245 GB, free: 47.48 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/9.735, allocations: 52.45 kB / 3.245 GB, free: 47.48 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/9.735, allocations: 56.45 kB / 3.245 GB, free: 47.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00363/9.739, allocations: 0.9919 MB / 3.246 GB, free: 47.28 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/9.739, allocations: 5.25 kB / 3.246 GB, free: 47.28 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/9.739, allocations: 29.92 kB / 3.246 GB, free: 47.28 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.645e-05/9.739, allocations: 23.09 kB / 3.246 GB, free: 47.28 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003919/9.743, allocations: 0.8987 MB / 3.247 GB, free: 47.27 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.007104/9.75, allocations: 4.712 MB / 3.252 GB, free: 43.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003272/9.753, allocations: 0.6785 MB / 3.252 GB, free: 43.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06181/9.815, allocations: 21.33 MB / 3.273 GB, free: 30.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/9.815, allocations: 43.53 kB / 3.273 GB, free: 30.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 3.397e-06/9.815, allocations: 0 / 3.273 GB, free: 30.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=60): time 0.04631/9.862, allocations: 4.313 MB / 3.277 GB, free: 29.72 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/9.862, allocations: 110.5 kB / 3.277 GB, free: 29.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008177/9.863, allocations: 440.3 kB / 3.278 GB, free: 29.46 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001945/9.863, allocations: 39.73 kB / 3.278 GB, free: 29.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/9.863, allocations: 385.9 kB / 3.278 GB, free: 29.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/9.863, allocations: 207.2 kB / 3.278 GB, free: 29.05 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.37e-05/9.863, allocations: 13.94 kB / 3.278 GB, free: 29.05 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.531e-05/9.864, allocations: 339.3 kB / 3.279 GB, free: 28.73 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/9.865, allocations: 374.8 kB / 3.279 GB, free: 28.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/9.867, allocations: 0.5805 MB / 3.28 GB, free: 28.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001807/9.869, allocations: 428.2 kB / 3.28 GB, free: 28.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.158e-06/9.869, allocations: 0 / 3.28 GB, free: 28.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.004853/9.873, allocations: 1.216 MB / 3.281 GB, free: 28.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005622/9.874, allocations: 2.443 MB / 3.284 GB, free: 25.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/9.874, allocations: 7.953 kB / 3.284 GB, free: 25.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007439/9.882, allocations: 0.8959 MB / 3.285 GB, free: 25.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/9.883, allocations: 166.9 kB / 3.285 GB, free: 25.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003553/9.886, allocations: 1.703 MB / 3.286 GB, free: 24.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/9.888, allocations: 104.6 kB / 3.287 GB, free: 24.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/9.888, allocations: 50.06 kB / 3.287 GB, free: 24.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/9.888, allocations: 3.969 kB / 3.287 GB, free: 24.7 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004733/9.893, allocations: 1.172 MB / 3.288 GB, free: 24.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/9.893, allocations: 7.156 kB / 3.288 GB, free: 24.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003789/9.897, allocations: 0.5852 MB / 3.288 GB, free: 24.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/9.898, allocations: 171.6 kB / 3.288 GB, free: 24.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002966/9.901, allocations: 1.615 MB / 3.29 GB, free: 23.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/9.902, allocations: 101.7 kB / 3.29 GB, free: 23.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/9.902, allocations: 49.08 kB / 3.29 GB, free: 23.54 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 (66): * Single equations (assignments): 64 * 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.0006876/9.903, allocations: 297.7 kB / 3.29 GB, free: 23.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002412/9.903, allocations: 68.62 kB / 3.291 GB, free: 23.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008872/9.912, allocations: 3.799 MB / 3.294 GB, free: 22.88 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-05/9.912, allocations: 45 kB / 3.294 GB, free: 22.88 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/9.912, allocations: 0 / 3.294 GB, free: 22.88 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-05/9.912, allocations: 3.891 kB / 3.294 GB, free: 22.88 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01365/9.926, allocations: 5.084 MB / 3.299 GB, free: 20.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-05/9.926, allocations: 7.203 kB / 3.299 GB, free: 20.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/9.927, allocations: 110.7 kB / 3.299 GB, free: 20.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009958/9.937, allocations: 1.651 MB / 3.301 GB, free: 20.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001795/9.937, allocations: 22.17 kB / 3.301 GB, free: 20.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005529/9.943, allocations: 2.364 MB / 3.303 GB, free: 18.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/9.943, allocations: 0 / 3.303 GB, free: 18.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007899/9.951, allocations: 2.603 MB / 3.306 GB, free: 17.56 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009929/9.952, allocations: 342.5 kB / 3.306 GB, free: 17.31 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002667/9.952, allocations: 17.97 kB / 3.306 GB, free: 17.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/9.954, allocations: 107.5 kB / 3.306 GB, free: 17.27 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/9.954, allocations: 55.95 kB / 3.306 GB, free: 17.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/9.954, allocations: 32.62 kB / 3.306 GB, free: 17.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001062/9.955, allocations: 433.1 kB / 3.307 GB, free: 17.07 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.51e-07/9.955, allocations: 4 kB / 3.307 GB, free: 17.06 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00936/9.965, allocations: 1.549 MB / 3.308 GB, free: 16.74 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 () * 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 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.02172/9.987, allocations: 4.74 MB / 3.313 GB, free: 14.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009309/9.996, allocations: 1.998 MB / 3.315 GB, free: 13.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.284e-05/9.996, allocations: 3.938 kB / 3.315 GB, free: 13.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003918/10, allocations: 1.111 MB / 3.316 GB, free: 13.45 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003643/10, allocations: 292.7 kB / 3.316 GB, free: 13.38 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6212/10.62, allocations: 83.27 MB / 3.398 GB, free: 53.92 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000683/10.63, allocations: 1.18 MB / 3.399 GB, free: 53.21 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007837/10.63, allocations: 429.8 kB / 3.399 GB, free: 53.21 MB / 458.7 MB Notification: Performance of SimCode: time 1.343e-06/10.63, allocations: 0 / 3.399 GB, free: 53.21 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.19/14.82, allocations: 48.96 MB / 3.447 GB, free: 50.23 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat does not exist to compare? outputFormat=mat