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.201/2.201, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004433/0.0004435, allocations: 12 kB / 314.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3532, allocations: 54.87 MB / 369.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.777/8.13, allocations: 2.618 GB / 2.978 GB, free: 78.73 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004021/8.131, allocations: 85.78 kB / 2.978 GB, free: 78.69 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.263/10.39, allocations: 438.4 MB / 3.407 GB, free: 30.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.745e-06/10.39, allocations: 0 / 3.407 GB, free: 30.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.244e-05/10.39, allocations: 18.27 kB / 3.407 GB, free: 30.82 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.008517/10.4, allocations: 1.848 MB / 3.408 GB, free: 28.94 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/10.4, allocations: 8.031 kB / 3.408 GB, free: 28.93 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003576/10.4, allocations: 102.5 kB / 3.409 GB, free: 28.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003898/10.41, allocations: 362 kB / 3.409 GB, free: 28.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/10.41, allocations: 0.5785 MB / 3.409 GB, free: 27.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.068e-05/10.41, allocations: 52.84 kB / 3.41 GB, free: 27.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/10.41, allocations: 56 kB / 3.41 GB, free: 27.76 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003722/10.41, allocations: 1.008 MB / 3.411 GB, free: 26.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.338e-05/10.41, allocations: 7.938 kB / 3.411 GB, free: 26.69 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/10.41, allocations: 27.12 kB / 3.411 GB, free: 26.67 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.354e-05/10.41, allocations: 21.31 kB / 3.411 GB, free: 26.65 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00402/10.42, allocations: 0.914 MB / 3.412 GB, free: 25.75 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.007498/10.42, allocations: 4.833 MB / 3.416 GB, free: 20.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003614/10.43, allocations: 0.7641 MB / 3.417 GB, free: 19.77 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4383/10.87, allocations: 21.62 MB / 3.438 GB, free: 51.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.884e-05/10.87, allocations: 40.97 kB / 3.438 GB, free: 51.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=46): time 3.647e-06/10.87, allocations: 1.469 kB / 3.438 GB, free: 51.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=63): time 0.04885/10.92, allocations: 4.374 MB / 3.442 GB, free: 50.77 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.951e-05/10.92, allocations: 110.7 kB / 3.443 GB, free: 50.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009925/10.92, allocations: 435 kB / 3.443 GB, free: 50.53 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002207/10.92, allocations: 42.03 kB / 3.443 GB, free: 50.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/10.92, allocations: 386.8 kB / 3.443 GB, free: 50.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002935/10.92, allocations: 212.7 kB / 3.444 GB, free: 50.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.167e-05/10.92, allocations: 13.59 kB / 3.444 GB, free: 50.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/10.92, allocations: 342.4 kB / 3.444 GB, free: 49.85 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/10.92, allocations: 389.1 kB / 3.444 GB, free: 49.85 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/10.92, allocations: 0.5843 MB / 3.445 GB, free: 49.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001865/10.92, allocations: 437.1 kB / 3.445 GB, free: 49.59 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/10.92, allocations: 3.531 kB / 3.445 GB, free: 49.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.005125/10.93, allocations: 1.233 MB / 3.446 GB, free: 49.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006166/10.93, allocations: 2.446 MB / 3.449 GB, free: 46.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.78e-05/10.93, allocations: 9.578 kB / 3.449 GB, free: 46.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007635/10.94, allocations: 0.8994 MB / 3.45 GB, free: 46.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/10.94, allocations: 175.9 kB / 3.45 GB, free: 46.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003676/10.94, allocations: 1.683 MB / 3.452 GB, free: 45.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/10.94, allocations: 108.6 kB / 3.452 GB, free: 45.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001777/10.94, allocations: 45.19 kB / 3.452 GB, free: 45.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/10.94, allocations: 2.25 kB / 3.452 GB, free: 45.91 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005157/10.95, allocations: 1.211 MB / 3.453 GB, free: 45.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.457e-05/10.95, allocations: 11.02 kB / 3.453 GB, free: 45.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003917/10.95, allocations: 0.586 MB / 3.453 GB, free: 45.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/10.95, allocations: 169.8 kB / 3.454 GB, free: 45.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003266/10.96, allocations: 1.634 MB / 3.455 GB, free: 44.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/10.96, allocations: 108.6 kB / 3.455 GB, free: 44.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/10.96, allocations: 47.42 kB / 3.455 GB, free: 44.82 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 () * Number of clocked 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.0007144/10.96, allocations: 298.2 kB / 3.456 GB, free: 44.64 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002798/10.96, allocations: 70.03 kB / 3.456 GB, free: 44.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008335/10.97, allocations: 3.853 MB / 3.459 GB, free: 44.28 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.01e-05/10.97, allocations: 47.58 kB / 3.46 GB, free: 44.28 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/10.97, allocations: 0 / 3.46 GB, free: 44.28 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.401e-05/10.97, allocations: 8.422 kB / 3.46 GB, free: 44.28 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01096/10.98, allocations: 5.185 MB / 3.465 GB, free: 43.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/10.98, allocations: 0 / 3.465 GB, free: 43.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008098/10.98, allocations: 119.4 kB / 3.465 GB, free: 43.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007704/10.99, allocations: 1.632 MB / 3.466 GB, free: 43.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001868/10.99, allocations: 28.59 kB / 3.466 GB, free: 43.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004078/10.99, allocations: 2.371 MB / 3.469 GB, free: 42.65 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/10.99, allocations: 0 / 3.469 GB, free: 42.65 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006213/11, allocations: 2.632 MB / 3.471 GB, free: 42.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009056/11, allocations: 352.1 kB / 3.472 GB, free: 42.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002225/11, allocations: 14.28 kB / 3.472 GB, free: 42.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/11, allocations: 98.89 kB / 3.472 GB, free: 42.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002206/11, allocations: 63.23 kB / 3.472 GB, free: 42.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/11, allocations: 29.88 kB / 3.472 GB, free: 42.14 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008066/11, allocations: 437.9 kB / 3.472 GB, free: 42.04 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.5e-07/11, allocations: 0 / 3.472 GB, free: 42.04 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008039/11.01, allocations: 1.575 MB / 3.474 GB, free: 42.02 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 () * Number of clocked 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.01847/11.03, allocations: 4.799 MB / 3.478 GB, free: 40.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007339/11.04, allocations: 2.041 MB / 3.48 GB, free: 40.94 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/11.04, allocations: 0 / 3.48 GB, free: 40.94 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00288/11.04, allocations: 1.116 MB / 3.481 GB, free: 40.92 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002948/11.04, allocations: 305.2 kB / 3.482 GB, free: 40.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2582/11.3, allocations: 83.71 MB / 3.564 GB, free: 28.84 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007091/11.3, allocations: 1.184 MB / 3.565 GB, free: 27.81 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008379/11.3, allocations: 447.6 kB / 3.565 GB, free: 27.75 MB / 490.7 MB Notification: Performance of SimCode: time 9.11e-07/11.3, allocations: 0 / 3.565 GB, free: 27.75 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.357/15.66, allocations: 49.65 MB / 3.614 GB, free: 10.61 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