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.TestWaterPumpDefault.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.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.488/2.488, allocations: 235.1 MB / 243 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.008e-05/2.021e-05, allocations: 0 / 303.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3885, allocations: 54.86 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.003/8.392, allocations: 2.612 GB / 2.962 GB, free: 127.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/8.392, allocations: 88.39 kB / 2.962 GB, free: 127.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174/10.57, allocations: 432 MB / 3.384 GB, free: 62.89 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.764e-06/10.57, allocations: 0 / 3.384 GB, free: 62.89 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.38e-05/10.57, allocations: 18.16 kB / 3.384 GB, free: 62.89 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.007764/10.57, allocations: 1.743 MB / 3.385 GB, free: 61.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/10.57, allocations: 7.75 kB / 3.385 GB, free: 61.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003756/10.58, allocations: 332.8 kB / 3.386 GB, free: 61.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/10.58, allocations: 0.5804 MB / 3.386 GB, free: 61.54 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.079e-05/10.58, allocations: 33.86 kB / 3.386 GB, free: 61.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/10.58, allocations: 29.97 kB / 3.386 GB, free: 61.53 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001439/10.58, allocations: 0.5341 MB / 3.387 GB, free: 61.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/10.58, allocations: 0.6502 MB / 3.387 GB, free: 60.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/10.58, allocations: 2.344 kB / 3.387 GB, free: 60.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/10.58, allocations: 3.156 kB / 3.387 GB, free: 60.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-05/10.58, allocations: 19.38 kB / 3.387 GB, free: 60.97 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.1303/10.71, allocations: 36.61 MB / 3.423 GB, free: 40.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/10.71, allocations: 337.5 kB / 3.423 GB, free: 40.16 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004142/10.71, allocations: 192.9 kB / 3.424 GB, free: 40.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0586/10.77, allocations: 20.03 MB / 3.443 GB, free: 22.72 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.086e-05/10.77, allocations: 38.89 kB / 3.443 GB, free: 22.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=39): time 4.509e-06/10.77, allocations: 4 kB / 3.443 GB, free: 22.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=55): time 0.03915/10.81, allocations: 3.277 MB / 3.446 GB, free: 20.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/10.81, allocations: 107.4 kB / 3.447 GB, free: 19.91 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007278/10.81, allocations: 405.4 kB / 3.447 GB, free: 19.54 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001551/10.81, allocations: 25.7 kB / 3.447 GB, free: 19.51 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/10.81, allocations: 402.8 kB / 3.447 GB, free: 19.13 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/10.81, allocations: 180.2 kB / 3.448 GB, free: 18.97 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-05/10.81, allocations: 0 / 3.448 GB, free: 18.97 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.062e-05/10.81, allocations: 341 kB / 3.448 GB, free: 18.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006311/10.82, allocations: 264 kB / 3.448 GB, free: 18.39 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007441/10.82, allocations: 488.9 kB / 3.449 GB, free: 17.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002652/10.82, allocations: 470.1 kB / 3.449 GB, free: 17.45 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/10.82, allocations: 0 / 3.449 GB, free: 17.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.004481/10.82, allocations: 1.081 MB / 3.45 GB, free: 16.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005606/10.82, allocations: 2.444 MB / 3.452 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/10.82, allocations: 4 kB / 3.452 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00402/10.83, allocations: 0.5716 MB / 3.453 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/10.83, allocations: 161.1 kB / 3.453 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003651/10.83, allocations: 1.745 MB / 3.455 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/10.83, allocations: 105 kB / 3.455 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000174/10.83, allocations: 43.61 kB / 3.455 GB, free: 11.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/10.83, allocations: 5.406 kB / 3.455 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00488/10.84, allocations: 0.9385 MB / 3.456 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/10.84, allocations: 4 kB / 3.456 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002206/10.84, allocations: 333.5 kB / 3.456 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/10.84, allocations: 160.5 kB / 3.456 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/10.85, allocations: 1.468 MB / 3.458 GB, free: 8.762 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/10.85, allocations: 101.2 kB / 3.458 GB, free: 8.688 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/10.85, allocations: 30.58 kB / 3.458 GB, free: 8.66 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 (65): * Single equations (assignments): 63 * 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.000398/10.85, allocations: 128.8 kB / 3.458 GB, free: 8.527 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003955/10.85, allocations: 0.8893 MB / 3.459 GB, free: 7.719 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002441/10.85, allocations: 62.81 kB / 3.459 GB, free: 7.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008148/10.86, allocations: 3.281 MB / 3.462 GB, free: 4.758 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.419e-05/10.86, allocations: 42.11 kB / 3.462 GB, free: 4.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/10.86, allocations: 0 / 3.462 GB, free: 4.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.172e-05/10.86, allocations: 7.469 kB / 3.462 GB, free: 4.727 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/10.87, allocations: 4.231 MB / 3.466 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.829e-05/10.87, allocations: 0 / 3.466 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009774/10.87, allocations: 94.3 kB / 3.466 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007528/10.88, allocations: 1.55 MB / 3.468 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002118/10.88, allocations: 15.28 kB / 3.468 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007465/10.89, allocations: 2.615 MB / 3.471 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.484e-05/10.89, allocations: 0 / 3.471 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008659/10.9, allocations: 2.303 MB / 3.473 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/10.9, allocations: 292.4 kB / 3.473 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003259/10.9, allocations: 7.562 kB / 3.473 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002037/10.9, allocations: 78.5 kB / 3.473 GB, free: 10.72 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000324/10.9, allocations: 54.92 kB / 3.473 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000183/10.9, allocations: 39.3 kB / 3.473 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001146/10.9, allocations: 348.8 kB / 3.474 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.493e-06/10.9, allocations: 4 kB / 3.474 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0112/10.91, allocations: 1.496 MB / 3.475 GB, free: 8.891 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 32 * 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.02579/10.94, allocations: 4.465 MB / 3.479 GB, free: 4.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008061/10.95, allocations: 1.512 MB / 3.481 GB, free: 3.531 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.47e-05/10.95, allocations: 0 / 3.481 GB, free: 3.531 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003694/10.95, allocations: 0.9062 MB / 3.482 GB, free: 2.688 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004202/10.96, allocations: 270 kB / 3.482 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.014/10.97, allocations: 2.359 MB / 3.484 GB, free: 340 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.454/11.42, allocations: 1.12 MB / 3.485 GB, free: 75.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008456/11.43, allocations: 377.8 kB / 3.486 GB, free: 75.92 MB / 0.4948 GB Notification: Performance of SimCode: time 1.553e-06/11.43, allocations: 0 / 3.486 GB, free: 75.92 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.109/15.53, allocations: 48.9 MB / 3.534 GB, free: 73.37 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat does not exist to compare? outputFormat=mat