Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.414/2.414, allocations: 235 MB / 248.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.743e-05/3.747e-05, allocations: 7.984 kB / 309.8 MB, free: 1.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4154, allocations: 54.85 MB / 364.6 MB, free: 5.516 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.144/8.559, allocations: 2.613 GB / 2.969 GB, free: 115.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/8.559, allocations: 86.89 kB / 2.969 GB, free: 115.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.293/10.85, allocations: 437.3 MB / 3.396 GB, free: 53.11 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.465e-06/10.85, allocations: 0 / 3.396 GB, free: 53.11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.39e-05/10.85, allocations: 17.53 kB / 3.396 GB, free: 53.1 MB / 490.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.01005/10.86, allocations: 1.784 MB / 3.398 GB, free: 52.15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/10.86, allocations: 8.75 kB / 3.398 GB, free: 52.15 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003377/10.86, allocations: 101.4 kB / 3.398 GB, free: 52.08 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005654/10.87, allocations: 332.1 kB / 3.398 GB, free: 52.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002566/10.87, allocations: 0.5878 MB / 3.399 GB, free: 51.64 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/10.87, allocations: 53.61 kB / 3.399 GB, free: 51.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002639/10.87, allocations: 57.91 kB / 3.399 GB, free: 51.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005515/10.88, allocations: 0.9873 MB / 3.4 GB, free: 51.14 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.203e-05/10.88, allocations: 3.938 kB / 3.4 GB, free: 51.14 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001885/10.88, allocations: 26.62 kB / 3.4 GB, free: 51.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.22e-05/10.88, allocations: 22.53 kB / 3.4 GB, free: 51.11 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004916/10.88, allocations: 0.8319 MB / 3.401 GB, free: 50.87 MB / 490.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.01196/10.89, allocations: 4.76 MB / 3.406 GB, free: 46.99 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004985/10.9, allocations: 0.7419 MB / 3.406 GB, free: 46.76 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008487/10.9, allocations: 228.2 kB / 3.407 GB, free: 46.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06961/10.97, allocations: 21.45 MB / 3.427 GB, free: 32.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.972e-05/10.97, allocations: 41.11 kB / 3.428 GB, free: 32.47 MB / 490.7 MB Notification: Performance of pre-optimization done (n=47): time 3.417e-06/10.97, allocations: 0 / 3.428 GB, free: 32.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=68): time 0.04387/11.01, allocations: 4.012 MB / 3.431 GB, free: 31.23 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/11.01, allocations: 110.9 kB / 3.432 GB, free: 31.11 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008147/11.02, allocations: 441.1 kB / 3.432 GB, free: 30.89 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001817/11.02, allocations: 33.7 kB / 3.432 GB, free: 30.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/11.02, allocations: 385.7 kB / 3.432 GB, free: 30.52 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002798/11.02, allocations: 237.3 kB / 3.433 GB, free: 30.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.888e-05/11.02, allocations: 14.97 kB / 3.433 GB, free: 30.33 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/11.02, allocations: 351 kB / 3.433 GB, free: 30 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009528/11.02, allocations: 329.4 kB / 3.433 GB, free: 29.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/11.02, allocations: 0.5393 MB / 3.434 GB, free: 29.45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/11.02, allocations: 385.8 kB / 3.434 GB, free: 29.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/11.02, allocations: 3.719 kB / 3.434 GB, free: 29.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.003565/11.02, allocations: 1.165 MB / 3.435 GB, free: 28.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000641/11.02, allocations: 2.439 MB / 3.438 GB, free: 26.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/11.02, allocations: 8.562 kB / 3.438 GB, free: 26.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01191/11.04, allocations: 1.325 MB / 3.439 GB, free: 25.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/11.04, allocations: 171.6 kB / 3.439 GB, free: 25.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003319/11.04, allocations: 1.762 MB / 3.441 GB, free: 24.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/11.04, allocations: 119.9 kB / 3.441 GB, free: 24.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/11.04, allocations: 53.92 kB / 3.441 GB, free: 24.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/11.04, allocations: 3.938 kB / 3.441 GB, free: 24.57 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003754/11.05, allocations: 1.123 MB / 3.442 GB, free: 24.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/11.05, allocations: 7.75 kB / 3.442 GB, free: 24.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004683/11.05, allocations: 0.7004 MB / 3.443 GB, free: 23.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/11.05, allocations: 184.5 kB / 3.443 GB, free: 23.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002618/11.06, allocations: 1.635 MB / 3.445 GB, free: 22.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/11.06, allocations: 115.3 kB / 3.445 GB, free: 22.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/11.06, allocations: 48.62 kB / 3.445 GB, free: 22.59 MB / 490.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 () * 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.0004156/11.06, allocations: 158.8 kB / 3.445 GB, free: 22.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002673/11.06, allocations: 76.05 kB / 3.445 GB, free: 22.41 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008509/11.07, allocations: 4.079 MB / 3.449 GB, free: 20.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.435e-05/11.07, allocations: 42.47 kB / 3.449 GB, free: 20.49 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/11.07, allocations: 3.938 kB / 3.449 GB, free: 20.49 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.739e-05/11.07, allocations: 7.484 kB / 3.449 GB, free: 20.49 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009941/11.08, allocations: 5.341 MB / 3.454 GB, free: 17.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/11.08, allocations: 0 / 3.454 GB, free: 17.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007749/11.08, allocations: 107.5 kB / 3.454 GB, free: 17.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01194/11.09, allocations: 2.231 MB / 3.457 GB, free: 17.47 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002137/11.09, allocations: 27.39 kB / 3.457 GB, free: 17.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003775/11.09, allocations: 2.513 MB / 3.459 GB, free: 15.76 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/11.09, allocations: 8.062 kB / 3.459 GB, free: 15.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006324/11.1, allocations: 2.745 MB / 3.462 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009663/11.1, allocations: 363.5 kB / 3.462 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002959/11.1, allocations: 12 kB / 3.462 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/11.1, allocations: 114 kB / 3.462 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002593/11.1, allocations: 66.59 kB / 3.462 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/11.1, allocations: 35.89 kB / 3.462 GB, free: 13.24 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007786/11.1, allocations: 437.7 kB / 3.463 GB, free: 12.85 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.71e-07/11.1, allocations: 0 / 3.463 GB, free: 12.85 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007633/11.11, allocations: 1.589 MB / 3.464 GB, free: 11.29 MB / 490.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,$cse19.phase,$cse19.region,$cse20.phase,$cse20.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 (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.01702/11.13, allocations: 4.751 MB / 3.469 GB, free: 7.07 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005252/11.13, allocations: 1.914 MB / 3.471 GB, free: 5.273 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/11.13, allocations: 1.25 kB / 3.471 GB, free: 5.273 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002295/11.14, allocations: 1.083 MB / 3.472 GB, free: 4.262 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002935/11.14, allocations: 309.8 kB / 3.472 GB, free: 4.039 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6523/11.79, allocations: 78.59 MB / 3.549 GB, free: 61.71 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006976/11.79, allocations: 1.19 MB / 3.55 GB, free: 61.01 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008874/11.79, allocations: 446.2 kB / 3.55 GB, free: 61.01 MB / 0.4948 GB Notification: Performance of SimCode: time 1.542e-06/11.79, allocations: 3.266 kB / 3.55 GB, free: 61.01 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.164/15.96, allocations: 51.26 MB / 3.6 GB, free: 56.84 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat does not exist to compare? outputFormat=mat