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.TestWaterPumpDefaultLV.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.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.322/2.322, allocations: 235 MB / 248 MB, free: 14.33 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.672e-05/4.689e-05, allocations: 4 kB / 309.8 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4428/0.4428, allocations: 54.84 MB / 364.6 MB, free: 5.543 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.3/8.743, allocations: 2.596 GB / 2.952 GB, free: 110.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003813/8.743, allocations: 84.25 kB / 2.952 GB, free: 110.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.379/11.12, allocations: 417.8 MB / 3.36 GB, free: 58.26 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.495e-06/11.12, allocations: 3.719 kB / 3.36 GB, free: 58.26 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.2e-05/11.12, allocations: 18.16 kB / 3.36 GB, free: 58.26 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.007436/11.13, allocations: 1.647 MB / 3.362 GB, free: 57.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/11.13, allocations: 7.562 kB / 3.362 GB, free: 57.54 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002109/11.13, allocations: 94.53 kB / 3.362 GB, free: 57.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003299/11.13, allocations: 299.9 kB / 3.362 GB, free: 57.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002476/11.14, allocations: 0.5538 MB / 3.363 GB, free: 57.22 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001686/11.14, allocations: 41.62 kB / 3.363 GB, free: 57.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002761/11.14, allocations: 59.39 kB / 3.363 GB, free: 57.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005875/11.14, allocations: 0.9308 MB / 3.364 GB, free: 57.01 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.125e-05/11.14, allocations: 8.812 kB / 3.364 GB, free: 57.01 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002178/11.14, allocations: 25.47 kB / 3.364 GB, free: 57.01 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-05/11.14, allocations: 23.27 kB / 3.364 GB, free: 57.01 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004768/11.15, allocations: 0.7795 MB / 3.364 GB, free: 57 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.007003/11.16, allocations: 4.557 MB / 3.369 GB, free: 53.78 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002818/11.16, allocations: 0.6805 MB / 3.369 GB, free: 53.75 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005224/11.16, allocations: 210.9 kB / 3.37 GB, free: 53.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06395/11.22, allocations: 21.46 MB / 3.391 GB, free: 40.21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/11.22, allocations: 37.27 kB / 3.391 GB, free: 40.17 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 3.636e-06/11.22, allocations: 0 / 3.391 GB, free: 40.17 MB / 490.7 MB Notification: Performance of matching and sorting (n=58): time 0.01531/11.24, allocations: 2.761 MB / 3.393 GB, free: 39.78 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.68e-05/11.24, allocations: 116 kB / 3.393 GB, free: 39.65 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006771/11.24, allocations: 377.5 kB / 3.394 GB, free: 39.54 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001568/11.24, allocations: 37.23 kB / 3.394 GB, free: 39.51 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/11.24, allocations: 371.7 kB / 3.394 GB, free: 39.26 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/11.24, allocations: 195.8 kB / 3.394 GB, free: 39.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-05/11.24, allocations: 14.12 kB / 3.394 GB, free: 39.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.722e-05/11.24, allocations: 335.8 kB / 3.395 GB, free: 38.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005816/11.24, allocations: 222 kB / 3.395 GB, free: 38.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007307/11.24, allocations: 426.3 kB / 3.395 GB, free: 38.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006748/11.24, allocations: 275.3 kB / 3.396 GB, free: 38.58 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/11.24, allocations: 6.781 kB / 3.396 GB, free: 38.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003844/11.25, allocations: 0.9258 MB / 3.397 GB, free: 38.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005555/11.25, allocations: 2.355 MB / 3.399 GB, free: 36.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/11.25, allocations: 7.125 kB / 3.399 GB, free: 36.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003562/11.25, allocations: 440 kB / 3.399 GB, free: 36.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009895/11.25, allocations: 149.6 kB / 3.399 GB, free: 36.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002355/11.25, allocations: 1.471 MB / 3.401 GB, free: 34.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/11.25, allocations: 87.94 kB / 3.401 GB, free: 34.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/11.25, allocations: 37.42 kB / 3.401 GB, free: 34.99 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/11.25, allocations: 4.75 kB / 3.401 GB, free: 34.99 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003588/11.26, allocations: 0.8822 MB / 3.402 GB, free: 34.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/11.26, allocations: 5.906 kB / 3.402 GB, free: 34.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002627/11.26, allocations: 362.7 kB / 3.402 GB, free: 34.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009985/11.26, allocations: 148.8 kB / 3.402 GB, free: 34.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/11.26, allocations: 1.436 MB / 3.404 GB, free: 33.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/11.27, allocations: 87.53 kB / 3.404 GB, free: 33.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/11.27, allocations: 35.72 kB / 3.404 GB, free: 33.88 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (63): * Single equations (assignments): 61 * 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 9,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003003/11.27, allocations: 150.3 kB / 3.404 GB, free: 33.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/11.27, allocations: 65.33 kB / 3.404 GB, free: 33.74 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006779/11.27, allocations: 3.558 MB / 3.408 GB, free: 33.36 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.348e-05/11.27, allocations: 47.62 kB / 3.408 GB, free: 33.36 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/11.27, allocations: 0 / 3.408 GB, free: 33.36 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.057e-05/11.27, allocations: 2.672 kB / 3.408 GB, free: 33.36 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007964/11.28, allocations: 4.584 MB / 3.412 GB, free: 32.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/11.28, allocations: 0 / 3.412 GB, free: 32.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007662/11.28, allocations: 112.3 kB / 3.412 GB, free: 32.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003674/11.29, allocations: 0.9895 MB / 3.413 GB, free: 32.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/11.29, allocations: 32.33 kB / 3.413 GB, free: 32.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002526/11.29, allocations: 1.966 MB / 3.415 GB, free: 31.72 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/11.29, allocations: 6.219 kB / 3.415 GB, free: 31.72 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003522/11.29, allocations: 2.092 MB / 3.417 GB, free: 31.37 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007572/11.29, allocations: 315.2 kB / 3.417 GB, free: 31.18 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/11.29, allocations: 20.7 kB / 3.417 GB, free: 31.17 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/11.29, allocations: 88.95 kB / 3.418 GB, free: 31.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000206/11.29, allocations: 58.91 kB / 3.418 GB, free: 31.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.741e-05/11.29, allocations: 26.8 kB / 3.418 GB, free: 31.16 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006443/11.29, allocations: 387.8 kB / 3.418 GB, free: 31.07 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.71e-07/11.3, allocations: 0 / 3.418 GB, free: 31.07 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007243/11.3, allocations: 1.409 MB / 3.419 GB, free: 30.87 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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.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 (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 8,2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01467/11.32, allocations: 4.143 MB / 3.423 GB, free: 29.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004551/11.32, allocations: 1.497 MB / 3.425 GB, free: 29.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/11.32, allocations: 0 / 3.425 GB, free: 29.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001954/11.32, allocations: 0.896 MB / 3.426 GB, free: 28.65 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/11.33, allocations: 284.6 kB / 3.426 GB, free: 28.57 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2554/11.58, allocations: 77.65 MB / 3.502 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009089/11.58, allocations: 1.153 MB / 3.503 GB, free: 3.703 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008494/11.58, allocations: 413.2 kB / 3.503 GB, free: 3.336 MB / 0.4948 GB Notification: Performance of SimCode: time 1.142e-06/11.58, allocations: 0 / 3.503 GB, free: 3.336 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.735/16.32, allocations: 46.86 MB / 3.549 GB, free: 64.67 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat does not exist to compare? outputFormat=mat