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.TestWaterPumpStorage.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.TestWaterPumpStorage,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.358/2.358, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004479/0.0004478, allocations: 12 kB / 314.5 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3543, allocations: 54.86 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.902/8.256, allocations: 2.613 GB / 2.973 GB, free: 80.27 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/8.257, allocations: 91.83 kB / 2.973 GB, free: 80.22 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.235/10.49, allocations: 437.8 MB / 3.401 GB, free: 32.96 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.405e-06/10.49, allocations: 4 kB / 3.401 GB, free: 32.96 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.01e-05/10.49, allocations: 12 kB / 3.401 GB, free: 32.95 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.008285/10.5, allocations: 1.832 MB / 3.403 GB, free: 31.08 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/10.5, allocations: 12.03 kB / 3.403 GB, free: 31.07 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003337/10.5, allocations: 102.5 kB / 3.403 GB, free: 30.96 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003723/10.5, allocations: 326.6 kB / 3.403 GB, free: 30.64 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/10.51, allocations: 0.5838 MB / 3.404 GB, free: 30.03 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.84e-05/10.51, allocations: 49.31 kB / 3.404 GB, free: 29.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/10.51, allocations: 63.03 kB / 3.404 GB, free: 29.92 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003728/10.51, allocations: 0.9952 MB / 3.405 GB, free: 28.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.536e-05/10.51, allocations: 7.469 kB / 3.405 GB, free: 28.87 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/10.51, allocations: 24 kB / 3.405 GB, free: 28.85 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.341e-05/10.51, allocations: 21 kB / 3.405 GB, free: 28.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003907/10.51, allocations: 0.9008 MB / 3.406 GB, free: 27.93 MB / 490.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.006707/10.52, allocations: 4.452 MB / 3.41 GB, free: 23.11 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003669/10.52, allocations: 0.7813 MB / 3.411 GB, free: 22.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7431/11.27, allocations: 82.82 MB / 3.492 GB, free: 36.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.299e-05/11.27, allocations: 37.62 kB / 3.492 GB, free: 36.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 3.517e-06/11.27, allocations: 0 / 3.492 GB, free: 36.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52): time 0.01083/11.28, allocations: 2.21 MB / 3.494 GB, free: 36.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.702e-05/11.28, allocations: 109.4 kB / 3.494 GB, free: 36.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007512/11.28, allocations: 438.2 kB / 3.495 GB, free: 36.06 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001051/11.28, allocations: 30.83 kB / 3.495 GB, free: 36.03 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/11.28, allocations: 375.8 kB / 3.495 GB, free: 35.81 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/11.28, allocations: 185.5 kB / 3.495 GB, free: 35.72 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.638e-05/11.28, allocations: 13.22 kB / 3.495 GB, free: 35.72 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000158/11.28, allocations: 334.6 kB / 3.495 GB, free: 35.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/11.28, allocations: 272.2 kB / 3.496 GB, free: 35.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/11.28, allocations: 457.8 kB / 3.496 GB, free: 35.18 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/11.28, allocations: 311.9 kB / 3.496 GB, free: 35.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/11.28, allocations: 7.75 kB / 3.496 GB, free: 35.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003882/11.29, allocations: 0.9434 MB / 3.497 GB, free: 35.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009946/11.29, allocations: 2.182 MB / 3.499 GB, free: 32.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/11.29, allocations: 7.844 kB / 3.499 GB, free: 32.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003269/11.29, allocations: 414.9 kB / 3.5 GB, free: 32.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009802/11.29, allocations: 136.7 kB / 3.5 GB, free: 32.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002109/11.3, allocations: 0.9203 MB / 3.501 GB, free: 32.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/11.3, allocations: 93.55 kB / 3.501 GB, free: 32.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/11.3, allocations: 40.08 kB / 3.501 GB, free: 32.23 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/11.3, allocations: 3.953 kB / 3.501 GB, free: 32.23 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004171/11.3, allocations: 0.929 MB / 3.502 GB, free: 32.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/11.3, allocations: 7.188 kB / 3.502 GB, free: 32.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00209/11.3, allocations: 307.2 kB / 3.502 GB, free: 32.17 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009647/11.3, allocations: 151.5 kB / 3.502 GB, free: 32.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/11.31, allocations: 0.8646 MB / 3.503 GB, free: 31.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/11.31, allocations: 107.2 kB / 3.503 GB, free: 31.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.632e-05/11.31, allocations: 29.7 kB / 3.503 GB, free: 31.62 MB / 0.4948 GB 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.0006193/11.31, allocations: 292.3 kB / 3.504 GB, free: 31.44 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/11.31, allocations: 61.03 kB / 3.504 GB, free: 31.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005399/11.31, allocations: 2.892 MB / 3.507 GB, free: 31.12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.244e-05/11.31, allocations: 46.84 kB / 3.507 GB, free: 31.11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/11.31, allocations: 3.953 kB / 3.507 GB, free: 31.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/11.31, allocations: 3.375 kB / 3.507 GB, free: 31.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006948/11.32, allocations: 4.027 MB / 3.511 GB, free: 30.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/11.32, allocations: 4 kB / 3.511 GB, free: 30.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/11.32, allocations: 164.5 kB / 3.511 GB, free: 30.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005368/11.32, allocations: 76.02 kB / 3.511 GB, free: 30.67 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.435e-05/11.32, allocations: 21.81 kB / 3.511 GB, free: 30.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009221/11.32, allocations: 1.179 MB / 3.512 GB, free: 29.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/11.32, allocations: 3.953 kB / 3.512 GB, free: 29.56 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005082/11.33, allocations: 2.551 MB / 3.514 GB, free: 29.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007307/11.33, allocations: 316.1 kB / 3.515 GB, free: 29.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/11.33, allocations: 9.844 kB / 3.515 GB, free: 29.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008729/11.33, allocations: 75.52 kB / 3.515 GB, free: 29.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/11.33, allocations: 60.77 kB / 3.515 GB, free: 29.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.379e-05/11.33, allocations: 24.92 kB / 3.515 GB, free: 29.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007372/11.33, allocations: 400.9 kB / 3.515 GB, free: 28.99 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.71e-07/11.33, allocations: 0 / 3.515 GB, free: 28.99 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006919/11.34, allocations: 1.387 MB / 3.517 GB, free: 28.99 MB / 0.4948 GB 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.01612/11.35, allocations: 4.729 MB / 3.521 GB, free: 28.04 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004879/11.36, allocations: 1.485 MB / 3.523 GB, free: 28 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/11.36, allocations: 4.344 kB / 3.523 GB, free: 28 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001903/11.36, allocations: 0.8493 MB / 3.524 GB, free: 27.99 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002536/11.36, allocations: 303.3 kB / 3.524 GB, free: 27.97 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2422/11.61, allocations: 83.06 MB / 3.605 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009238/11.61, allocations: 1.158 MB / 3.606 GB, free: 14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008398/11.61, allocations: 456.9 kB / 3.606 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of SimCode: time 1.893e-06/11.61, allocations: 0 / 3.606 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.462/16.07, allocations: 43.63 MB / 3.649 GB, free: 74.09 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat does not exist to compare? outputFormat=mat