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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.424/2.424, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.999e-05/2.991e-05, allocations: 4 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4104, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.103/8.513, allocations: 2.617 GB / 2.967 GB, free: 126.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003539/8.514, allocations: 85.98 kB / 2.967 GB, free: 126.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.463/10.98, allocations: 432.9 MB / 3.39 GB, free: 60.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.144e-06/10.98, allocations: 0 / 3.39 GB, free: 60.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.675e-05/10.98, allocations: 19.09 kB / 3.39 GB, free: 60.5 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.007996/10.98, allocations: 1.765 MB / 3.391 GB, free: 59.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/10.98, allocations: 11.66 kB / 3.391 GB, free: 59.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004061/10.99, allocations: 350.2 kB / 3.392 GB, free: 59.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/10.99, allocations: 0.5949 MB / 3.392 GB, free: 59.03 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.903e-05/10.99, allocations: 26.92 kB / 3.392 GB, free: 59.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/10.99, allocations: 34.06 kB / 3.392 GB, free: 59.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001581/10.99, allocations: 0.5462 MB / 3.393 GB, free: 58.83 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001579/10.99, allocations: 0.6658 MB / 3.393 GB, free: 58.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/10.99, allocations: 7.531 kB / 3.393 GB, free: 58.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/10.99, allocations: 0 / 3.393 GB, free: 58.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.933e-05/10.99, allocations: 21.84 kB / 3.394 GB, free: 58.46 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.1264/11.12, allocations: 36.72 MB / 3.429 GB, free: 37.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009575/11.12, allocations: 366.1 kB / 3.43 GB, free: 37.44 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004033/11.12, allocations: 193.5 kB / 3.43 GB, free: 37.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05854/11.18, allocations: 20.3 MB / 3.45 GB, free: 17.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/11.18, allocations: 38.56 kB / 3.45 GB, free: 17.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 3.076e-06/11.18, allocations: 0 / 3.45 GB, free: 17.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=58): time 0.03897/11.22, allocations: 3.306 MB / 3.453 GB, free: 14.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/11.22, allocations: 111.4 kB / 3.453 GB, free: 14.46 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006977/11.22, allocations: 405.1 kB / 3.453 GB, free: 14.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001427/11.22, allocations: 25.7 kB / 3.453 GB, free: 14.06 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/11.22, allocations: 401.2 kB / 3.454 GB, free: 13.69 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/11.22, allocations: 192.6 kB / 3.454 GB, free: 13.51 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.303e-05/11.22, allocations: 0 / 3.454 GB, free: 13.51 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.647e-05/11.22, allocations: 346.3 kB / 3.454 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006401/11.22, allocations: 276.9 kB / 3.455 GB, free: 12.92 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007504/11.22, allocations: 487.4 kB / 3.455 GB, free: 12.37 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002757/11.23, allocations: 484.3 kB / 3.456 GB, free: 11.97 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/11.23, allocations: 0 / 3.456 GB, free: 11.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004534/11.23, allocations: 1.107 MB / 3.457 GB, free: 10.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005243/11.23, allocations: 2.448 MB / 3.459 GB, free: 8.336 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/11.23, allocations: 8 kB / 3.459 GB, free: 8.328 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00393/11.23, allocations: 0.5643 MB / 3.46 GB, free: 7.891 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/11.24, allocations: 164.7 kB / 3.46 GB, free: 7.758 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003502/11.24, allocations: 1.744 MB / 3.461 GB, free: 6.043 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/11.24, allocations: 108.2 kB / 3.462 GB, free: 5.961 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/11.24, allocations: 47.69 kB / 3.462 GB, free: 5.922 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/11.24, allocations: 4 kB / 3.462 GB, free: 5.918 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005094/11.25, allocations: 0.96 MB / 3.463 GB, free: 5.094 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.443e-05/11.25, allocations: 8.5 kB / 3.463 GB, free: 5.086 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002195/11.25, allocations: 328.3 kB / 3.463 GB, free: 4.832 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/11.25, allocations: 183.9 kB / 3.463 GB, free: 4.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/11.25, allocations: 1.457 MB / 3.464 GB, free: 3.223 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/11.25, allocations: 84.33 kB / 3.465 GB, free: 3.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/11.25, allocations: 46.98 kB / 3.465 GB, free: 3.121 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.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 (68): * Single equations (assignments): 66 * 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.0003909/11.25, allocations: 125.8 kB / 3.465 GB, free: 2.996 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004105/11.26, allocations: 0.9147 MB / 3.466 GB, free: 2.164 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/11.26, allocations: 63.25 kB / 3.466 GB, free: 2.102 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007953/11.27, allocations: 3.361 MB / 3.469 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.771e-05/11.27, allocations: 44.73 kB / 3.469 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/11.27, allocations: 0 / 3.469 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.342e-05/11.27, allocations: 7.5 kB / 3.469 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009704/11.28, allocations: 4.29 MB / 3.473 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.198e-05/11.28, allocations: 0 / 3.473 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007161/11.28, allocations: 98.33 kB / 3.473 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004606/11.28, allocations: 1.534 MB / 3.475 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001466/11.28, allocations: 19.89 kB / 3.475 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004593/11.29, allocations: 2.62 MB / 3.477 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.998e-06/11.29, allocations: 4.125 kB / 3.477 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00547/11.29, allocations: 2.327 MB / 3.48 GB, free: 5.305 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007853/11.29, allocations: 308.6 kB / 3.48 GB, free: 5.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001857/11.29, allocations: 11.95 kB / 3.48 GB, free: 5.008 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/11.29, allocations: 82.16 kB / 3.48 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/11.29, allocations: 51.09 kB / 3.48 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-05/11.29, allocations: 31.84 kB / 3.48 GB, free: 4.898 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006977/11.3, allocations: 361 kB / 3.48 GB, free: 4.578 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.51e-07/11.3, allocations: 3.938 kB / 3.48 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007704/11.3, allocations: 1.511 MB / 3.482 GB, free: 3.102 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.3706/11.67, allocations: 4.571 MB / 3.486 GB, free: 76.03 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005302/11.68, allocations: 1.547 MB / 3.488 GB, free: 76.02 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/11.68, allocations: 0 / 3.488 GB, free: 76.02 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001993/11.68, allocations: 0.9092 MB / 3.489 GB, free: 76 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002585/11.68, allocations: 254 kB / 3.489 GB, free: 76 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008233/11.69, allocations: 2.403 MB / 3.491 GB, free: 75.56 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006174/11.69, allocations: 1.125 MB / 3.492 GB, free: 74.85 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007485/11.69, allocations: 393.8 kB / 3.493 GB, free: 74.84 MB / 0.4948 GB Notification: Performance of SimCode: time 1.062e-06/11.69, allocations: 0.9375 kB / 3.493 GB, free: 74.84 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.311/16, allocations: 49.4 MB / 3.541 GB, free: 72.01 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