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.TestWaterPumpNPSH.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.TestWaterPumpNPSH,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpNPSH",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.535/2.535, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.954e-05/3.968e-05, allocations: 4 kB / 309.8 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4292/0.4293, allocations: 54.85 MB / 364.6 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.966/8.396, allocations: 2.618 GB / 2.974 GB, free: 118 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/8.396, allocations: 80.84 kB / 2.974 GB, free: 118 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.267/10.66, allocations: 437.2 MB / 3.401 GB, free: 53.89 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.384e-06/10.66, allocations: 0 / 3.401 GB, free: 53.89 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.65e-05/10.66, allocations: 19.89 kB / 3.401 GB, free: 53.88 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.00787/10.67, allocations: 1.774 MB / 3.402 GB, free: 52.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/10.67, allocations: 11.5 kB / 3.402 GB, free: 52.9 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002341/10.67, allocations: 100.4 kB / 3.403 GB, free: 52.83 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003829/10.68, allocations: 350.3 kB / 3.403 GB, free: 52.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/10.68, allocations: 0.5897 MB / 3.403 GB, free: 52.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.529e-05/10.68, allocations: 49.78 kB / 3.404 GB, free: 52.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/10.68, allocations: 60.16 kB / 3.404 GB, free: 52.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003048/10.68, allocations: 0.9771 MB / 3.405 GB, free: 51.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.251e-05/10.68, allocations: 3.969 kB / 3.405 GB, free: 51.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/10.68, allocations: 27.41 kB / 3.405 GB, free: 51.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.235e-05/10.68, allocations: 21 kB / 3.405 GB, free: 51.86 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002812/10.68, allocations: 0.8232 MB / 3.405 GB, free: 51.61 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.007181/10.69, allocations: 4.825 MB / 3.41 GB, free: 47.58 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002662/10.69, allocations: 0.6917 MB / 3.411 GB, free: 47.37 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000516/10.69, allocations: 218.8 kB / 3.411 GB, free: 47.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06308/10.76, allocations: 21.71 MB / 3.432 GB, free: 32.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/10.76, allocations: 38.88 kB / 3.432 GB, free: 32.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=46): time 3.536e-06/10.76, allocations: 0 / 3.432 GB, free: 32.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=63): time 0.04229/10.8, allocations: 3.783 MB / 3.436 GB, free: 31.63 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/10.8, allocations: 114.5 kB / 3.436 GB, free: 31.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007684/10.8, allocations: 430.1 kB / 3.436 GB, free: 31.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001583/10.8, allocations: 33.7 kB / 3.436 GB, free: 31.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000219/10.8, allocations: 392 kB / 3.437 GB, free: 30.92 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/10.8, allocations: 215 kB / 3.437 GB, free: 30.76 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.468e-05/10.8, allocations: 15.41 kB / 3.437 GB, free: 30.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.422e-05/10.8, allocations: 336.4 kB / 3.437 GB, free: 30.42 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007283/10.8, allocations: 279.1 kB / 3.438 GB, free: 30.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008354/10.8, allocations: 0.4919 MB / 3.438 GB, free: 29.92 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009164/10.8, allocations: 337.5 kB / 3.438 GB, free: 29.78 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/10.8, allocations: 3.5 kB / 3.438 GB, free: 29.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002774/10.81, allocations: 1.011 MB / 3.439 GB, free: 29.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005216/10.81, allocations: 2.436 MB / 3.442 GB, free: 26.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/10.81, allocations: 15.16 kB / 3.442 GB, free: 26.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00611/10.81, allocations: 0.821 MB / 3.443 GB, free: 26.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/10.81, allocations: 162.2 kB / 3.443 GB, free: 26.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002627/10.82, allocations: 1.596 MB / 3.444 GB, free: 25.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/10.82, allocations: 107.4 kB / 3.444 GB, free: 25.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/10.82, allocations: 51.72 kB / 3.445 GB, free: 25.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/10.82, allocations: 7.312 kB / 3.445 GB, free: 25.25 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003022/10.82, allocations: 0.9772 MB / 3.445 GB, free: 24.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/10.82, allocations: 3.812 kB / 3.445 GB, free: 24.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003087/10.83, allocations: 0.5244 MB / 3.446 GB, free: 24.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/10.83, allocations: 169.2 kB / 3.446 GB, free: 24.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/10.83, allocations: 1.547 MB / 3.448 GB, free: 23.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/10.83, allocations: 97.12 kB / 3.448 GB, free: 23.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/10.83, allocations: 51 kB / 3.448 GB, free: 23.43 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 (69): * Single equations (assignments): 67 * 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 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003185/10.83, allocations: 166.1 kB / 3.448 GB, free: 23.27 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002326/10.83, allocations: 62.69 kB / 3.448 GB, free: 23.24 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007534/10.84, allocations: 3.969 MB / 3.452 GB, free: 21.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.687e-05/10.84, allocations: 45.91 kB / 3.452 GB, free: 21.37 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/10.84, allocations: 0 / 3.452 GB, free: 21.37 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.801e-05/10.84, allocations: 3.75 kB / 3.452 GB, free: 21.37 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008705/10.85, allocations: 5.154 MB / 3.457 GB, free: 18.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/10.85, allocations: 0 / 3.457 GB, free: 18.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007774/10.85, allocations: 120.8 kB / 3.457 GB, free: 18.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006586/10.85, allocations: 1.747 MB / 3.459 GB, free: 18.02 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001467/10.85, allocations: 23.66 kB / 3.459 GB, free: 18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003044/10.86, allocations: 2.36 MB / 3.461 GB, free: 15.72 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/10.86, allocations: 7.359 kB / 3.461 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004102/10.86, allocations: 2.499 MB / 3.464 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006914/10.86, allocations: 351.3 kB / 3.464 GB, free: 13.03 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/10.86, allocations: 12 kB / 3.464 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/10.86, allocations: 103.7 kB / 3.464 GB, free: 12.94 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/10.86, allocations: 64.08 kB / 3.464 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.319e-05/10.86, allocations: 31.27 kB / 3.464 GB, free: 12.87 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006874/10.87, allocations: 418.2 kB / 3.465 GB, free: 12.49 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.81e-07/10.87, allocations: 0 / 3.465 GB, free: 12.49 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007458/10.87, allocations: 1.576 MB / 3.466 GB, free: 10.96 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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.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 (52): * Single equations (assignments): 41 * 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 9,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01562/10.89, allocations: 4.582 MB / 3.471 GB, free: 6.867 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004877/10.89, allocations: 1.747 MB / 3.472 GB, free: 5.234 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.076e-06/10.89, allocations: 0 / 3.472 GB, free: 5.234 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001953/10.9, allocations: 1.033 MB / 3.473 GB, free: 4.273 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/10.9, allocations: 292.5 kB / 3.474 GB, free: 4.066 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.643/11.54, allocations: 78.48 MB / 3.55 GB, free: 63.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007139/11.54, allocations: 1.18 MB / 3.551 GB, free: 62.62 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008856/11.54, allocations: 446 kB / 3.552 GB, free: 62.62 MB / 0.4948 GB Notification: Performance of SimCode: time 1.202e-06/11.54, allocations: 0 / 3.552 GB, free: 62.62 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.465/16.01, allocations: 50.77 MB / 3.601 GB, free: 58.41 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat does not exist to compare? outputFormat=mat