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.TestWaterPumpStorage.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.TestWaterPumpStorage,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.844/1.844, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004464/0.0004466, allocations: 12 kB / 282.7 MB, free: 9.555 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3551, allocations: 48.7 MB / 331.4 MB, free: 6.414 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.986/7.341, allocations: 2.502 GB / 2.826 GB, free: 14.35 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/7.341, allocations: 86.45 kB / 2.826 GB, free: 14.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.386/9.727, allocations: 426.9 MB / 3.243 GB, free: 48.54 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.934e-06/9.727, allocations: 0 / 3.243 GB, free: 48.54 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.586e-05/9.727, allocations: 19.16 kB / 3.243 GB, free: 48.54 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.008389/9.736, allocations: 1.785 MB / 3.244 GB, free: 47.71 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/9.736, allocations: 10.61 kB / 3.244 GB, free: 47.71 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002841/9.736, allocations: 99.88 kB / 3.245 GB, free: 47.68 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003623/9.74, allocations: 314.8 kB / 3.245 GB, free: 47.64 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/9.742, allocations: 0.5814 MB / 3.245 GB, free: 47.37 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.117e-05/9.742, allocations: 52.47 kB / 3.245 GB, free: 47.37 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/9.742, allocations: 56.92 kB / 3.246 GB, free: 47.37 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003673/9.746, allocations: 0.9951 MB / 3.247 GB, free: 47.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.681e-05/9.746, allocations: 2.812 kB / 3.247 GB, free: 47.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/9.746, allocations: 32.52 kB / 3.247 GB, free: 47.17 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.17e-05/9.746, allocations: 23.44 kB / 3.247 GB, free: 47.17 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004079/9.75, allocations: 0.8966 MB / 3.247 GB, free: 47.17 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.006583/9.757, allocations: 4.443 MB / 3.252 GB, free: 43.92 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003716/9.76, allocations: 0.7968 MB / 3.253 GB, free: 43.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2851/10.05, allocations: 82.77 MB / 3.333 GB, free: 26.99 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.348e-05/10.05, allocations: 46.03 kB / 3.333 GB, free: 26.95 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 2.925e-06/10.05, allocations: 0 / 3.333 GB, free: 26.95 MB / 474.7 MB Notification: Performance of matching and sorting (n=52): time 0.009999/10.06, allocations: 2.219 MB / 3.336 GB, free: 26.51 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.234e-05/10.06, allocations: 111 kB / 3.336 GB, free: 26.39 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007395/10.06, allocations: 428.2 kB / 3.336 GB, free: 26.26 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.996e-05/10.06, allocations: 37.45 kB / 3.336 GB, free: 26.23 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/10.06, allocations: 376.5 kB / 3.337 GB, free: 25.98 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/10.06, allocations: 181.2 kB / 3.337 GB, free: 25.86 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/10.06, allocations: 7.25 kB / 3.337 GB, free: 25.86 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/10.06, allocations: 341.1 kB / 3.337 GB, free: 25.54 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/10.06, allocations: 265.8 kB / 3.337 GB, free: 25.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/10.06, allocations: 459 kB / 3.338 GB, free: 25.01 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/10.06, allocations: 315 kB / 3.338 GB, free: 24.84 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/10.06, allocations: 0 / 3.338 GB, free: 24.84 MB / 474.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003736/10.06, allocations: 0.9499 MB / 3.339 GB, free: 24.28 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001009/10.07, allocations: 2.188 MB / 3.341 GB, free: 21.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/10.07, allocations: 4 kB / 3.341 GB, free: 21.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003295/10.07, allocations: 411.1 kB / 3.341 GB, free: 21.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009737/10.07, allocations: 143.4 kB / 3.342 GB, free: 21.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/10.07, allocations: 0.9092 MB / 3.342 GB, free: 20.87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/10.07, allocations: 101 kB / 3.343 GB, free: 20.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.41e-05/10.07, allocations: 35.08 kB / 3.343 GB, free: 20.78 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/10.07, allocations: 4.781 kB / 3.343 GB, free: 20.77 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004104/10.08, allocations: 0.9332 MB / 3.344 GB, free: 20.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/10.08, allocations: 4.5 kB / 3.344 GB, free: 20.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002128/10.08, allocations: 316.3 kB / 3.344 GB, free: 20.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009943/10.08, allocations: 153.8 kB / 3.344 GB, free: 19.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/10.08, allocations: 0.8594 MB / 3.345 GB, free: 19.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/10.08, allocations: 94.8 kB / 3.345 GB, free: 19.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.074e-05/10.08, allocations: 42.73 kB / 3.345 GB, free: 19.13 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 20} Notification: Performance of prepare postOptimizeDAE: time 0.0006526/10.08, allocations: 291.2 kB / 3.345 GB, free: 18.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/10.08, allocations: 59.34 kB / 3.345 GB, free: 18.84 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005272/10.09, allocations: 2.892 MB / 3.348 GB, free: 17.22 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.252e-05/10.09, allocations: 41.62 kB / 3.348 GB, free: 17.21 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/10.09, allocations: 4 kB / 3.348 GB, free: 17.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/10.09, allocations: 7.469 kB / 3.348 GB, free: 17.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007176/10.1, allocations: 4.026 MB / 3.352 GB, free: 13.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/10.1, allocations: 0 / 3.352 GB, free: 13.81 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/10.1, allocations: 166.2 kB / 3.352 GB, free: 13.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005677/10.1, allocations: 83.59 kB / 3.352 GB, free: 13.62 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-05/10.1, allocations: 20 kB / 3.352 GB, free: 13.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009586/10.1, allocations: 1.173 MB / 3.353 GB, free: 12.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/10.1, allocations: 0 / 3.353 GB, free: 12.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005289/10.11, allocations: 2.559 MB / 3.356 GB, free: 10.06 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007225/10.11, allocations: 313.3 kB / 3.356 GB, free: 9.773 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002361/10.11, allocations: 12 kB / 3.356 GB, free: 9.762 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/10.11, allocations: 77.55 kB / 3.356 GB, free: 9.699 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002265/10.11, allocations: 56.75 kB / 3.356 GB, free: 9.668 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/10.11, allocations: 24 kB / 3.356 GB, free: 9.645 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001008/10.11, allocations: 399.5 kB / 3.357 GB, free: 9.312 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.91e-07/10.11, allocations: 0 / 3.357 GB, free: 9.312 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00838/10.12, allocations: 1.375 MB / 3.358 GB, free: 7.969 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse17.phase,$cse17.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 (67): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02177/10.14, allocations: 4.728 MB / 3.363 GB, free: 3.863 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0076/10.15, allocations: 1.486 MB / 3.364 GB, free: 2.598 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/10.15, allocations: 0 / 3.364 GB, free: 2.598 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003259/10.15, allocations: 0.8527 MB / 3.365 GB, free: 1.82 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003658/10.15, allocations: 296.4 kB / 3.365 GB, free: 1.609 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6122/10.77, allocations: 81.81 MB / 3.445 GB, free: 69.44 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006775/10.77, allocations: 1.165 MB / 3.446 GB, free: 68.71 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008328/10.77, allocations: 454.4 kB / 3.447 GB, free: 68.71 MB / 474.7 MB Notification: Performance of SimCode: time 1.883e-06/10.77, allocations: 4 kB / 3.447 GB, free: 68.71 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.959/14.73, allocations: 43.46 MB / 3.489 GB, free: 59.88 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat does not exist to compare? outputFormat=mat