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.447/2.447, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004879/0.000488, allocations: 12 kB / 314.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3537, allocations: 54.86 MB / 369.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.88/8.233, allocations: 2.596 GB / 2.957 GB, free: 101.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/8.234, allocations: 91.08 kB / 2.957 GB, free: 101.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.095/10.33, allocations: 419 MB / 3.366 GB, free: 55.74 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.663e-06/10.33, allocations: 0 / 3.366 GB, free: 55.74 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.76e-05/10.33, allocations: 16.41 kB / 3.366 GB, free: 55.74 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.007684/10.34, allocations: 1.722 MB / 3.368 GB, free: 54.74 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/10.34, allocations: 18.19 kB / 3.368 GB, free: 54.74 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002389/10.34, allocations: 96.31 kB / 3.368 GB, free: 54.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004697/10.34, allocations: 297.6 kB / 3.368 GB, free: 54.62 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/10.34, allocations: 0.5425 MB / 3.368 GB, free: 54.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.289e-05/10.34, allocations: 49.42 kB / 3.369 GB, free: 54.23 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/10.34, allocations: 57.8 kB / 3.369 GB, free: 54.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004703/10.35, allocations: 0.9597 MB / 3.369 GB, free: 53.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.783e-05/10.35, allocations: 3.469 kB / 3.369 GB, free: 53.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/10.35, allocations: 25.88 kB / 3.37 GB, free: 53.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.278e-05/10.35, allocations: 19 kB / 3.37 GB, free: 53.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005594/10.35, allocations: 0.8724 MB / 3.37 GB, free: 53.55 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.008299/10.36, allocations: 4.546 MB / 3.375 GB, free: 49.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005046/10.37, allocations: 0.7389 MB / 3.376 GB, free: 49.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07453/10.44, allocations: 21.38 MB / 3.396 GB, free: 33.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/10.44, allocations: 42.45 kB / 3.396 GB, free: 33.31 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 3.997e-06/10.44, allocations: 0 / 3.396 GB, free: 33.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=58): time 0.01885/10.46, allocations: 3.268 MB / 3.4 GB, free: 30.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.348e-05/10.46, allocations: 113 kB / 3.4 GB, free: 30.46 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006424/10.46, allocations: 373.6 kB / 3.4 GB, free: 30.14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000147/10.46, allocations: 37.7 kB / 3.4 GB, free: 30.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/10.46, allocations: 378.9 kB / 3.401 GB, free: 29.75 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/10.46, allocations: 199.3 kB / 3.401 GB, free: 29.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.088e-05/10.46, allocations: 16 kB / 3.401 GB, free: 29.55 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.465e-05/10.46, allocations: 334.4 kB / 3.401 GB, free: 29.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/10.46, allocations: 302.3 kB / 3.401 GB, free: 28.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/10.47, allocations: 0.5206 MB / 3.402 GB, free: 28.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/10.47, allocations: 356.7 kB / 3.402 GB, free: 28.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.321e-05/10.47, allocations: 0 / 3.402 GB, free: 28.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.005254/10.47, allocations: 1.11 MB / 3.403 GB, free: 27.15 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005352/10.47, allocations: 2.349 MB / 3.406 GB, free: 24.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/10.47, allocations: 8 kB / 3.406 GB, free: 24.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00415/10.48, allocations: 491.1 kB / 3.406 GB, free: 24.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009596/10.48, allocations: 146.6 kB / 3.406 GB, free: 24.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002739/10.48, allocations: 1.53 MB / 3.408 GB, free: 22.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/10.48, allocations: 85.64 kB / 3.408 GB, free: 22.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/10.48, allocations: 39.94 kB / 3.408 GB, free: 22.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/10.48, allocations: 7.938 kB / 3.408 GB, free: 22.51 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004935/10.49, allocations: 1.054 MB / 3.409 GB, free: 21.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/10.49, allocations: 4 kB / 3.409 GB, free: 21.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003054/10.49, allocations: 409.6 kB / 3.409 GB, free: 21.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009548/10.49, allocations: 150.9 kB / 3.409 GB, free: 21.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/10.49, allocations: 1.473 MB / 3.411 GB, free: 19.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/10.49, allocations: 91.92 kB / 3.411 GB, free: 19.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.38e-05/10.49, allocations: 35.84 kB / 3.411 GB, free: 19.61 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 () * Number of clocked 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.0006036/10.5, allocations: 291.7 kB / 3.411 GB, free: 19.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/10.5, allocations: 63.3 kB / 3.411 GB, free: 19.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00667/10.5, allocations: 3.418 MB / 3.415 GB, free: 16.19 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.162e-05/10.5, allocations: 41.11 kB / 3.415 GB, free: 16.17 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/10.5, allocations: 0 / 3.415 GB, free: 16.17 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/10.5, allocations: 11.69 kB / 3.415 GB, free: 16.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008988/10.51, allocations: 4.645 MB / 3.419 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/10.51, allocations: 0 / 3.419 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007206/10.51, allocations: 110.5 kB / 3.419 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004086/10.52, allocations: 0.9187 MB / 3.42 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001312/10.52, allocations: 19.95 kB / 3.42 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00292/10.52, allocations: 1.947 MB / 3.422 GB, free: 9.312 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/10.52, allocations: 4.125 kB / 3.422 GB, free: 9.309 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004624/10.52, allocations: 2.19 MB / 3.424 GB, free: 7.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005845/10.52, allocations: 313.4 kB / 3.425 GB, free: 6.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/10.52, allocations: 19.7 kB / 3.425 GB, free: 6.965 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000987/10.53, allocations: 94.55 kB / 3.425 GB, free: 6.891 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/10.53, allocations: 57.03 kB / 3.425 GB, free: 6.859 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.686e-05/10.53, allocations: 27.14 kB / 3.425 GB, free: 6.836 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005924/10.53, allocations: 385.4 kB / 3.425 GB, free: 6.516 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.21e-07/10.53, allocations: 0 / 3.425 GB, free: 6.516 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006704/10.53, allocations: 1.41 MB / 3.426 GB, free: 5.137 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 () * Number of clocked 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.01598/10.55, allocations: 4.33 MB / 3.431 GB, free: 1.309 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006964/10.56, allocations: 1.783 MB / 3.432 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/10.56, allocations: 7.938 kB / 3.432 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002754/10.56, allocations: 0.9817 MB / 3.433 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002548/10.56, allocations: 277.5 kB / 3.434 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6347/11.2, allocations: 85.3 MB / 3.517 GB, free: 63.15 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006899/11.2, allocations: 1.158 MB / 3.518 GB, free: 62.42 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007642/11.2, allocations: 412.7 kB / 3.519 GB, free: 62.41 MB / 0.4948 GB Notification: Performance of SimCode: time 1.002e-06/11.2, allocations: 0 / 3.519 GB, free: 62.41 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.182/15.38, allocations: 45.93 MB / 3.563 GB, free: 58.63 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