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/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.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.257/2.257, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000692/0.000692, allocations: 8 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4559/0.4566, allocations: 54.86 MB / 369.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.907/8.364, allocations: 2.613 GB / 2.973 GB, free: 82.48 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/8.364, allocations: 86.7 kB / 2.973 GB, free: 82.43 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.168/10.53, allocations: 437.5 MB / 3.401 GB, free: 35.53 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.856e-06/10.53, allocations: 0 / 3.401 GB, free: 35.53 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.251e-05/10.53, allocations: 23.06 kB / 3.401 GB, free: 35.51 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.008137/10.54, allocations: 1.83 MB / 3.402 GB, free: 33.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/10.54, allocations: 8.031 kB / 3.402 GB, free: 33.64 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003011/10.54, allocations: 98.52 kB / 3.403 GB, free: 33.53 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003686/10.54, allocations: 326.8 kB / 3.403 GB, free: 33.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/10.55, allocations: 0.5842 MB / 3.403 GB, free: 32.6 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.239e-05/10.55, allocations: 53.31 kB / 3.403 GB, free: 32.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/10.55, allocations: 56 kB / 3.403 GB, free: 32.49 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003665/10.55, allocations: 0.9923 MB / 3.404 GB, free: 31.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/10.55, allocations: 0 / 3.404 GB, free: 31.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/10.55, allocations: 24 kB / 3.404 GB, free: 31.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.337e-05/10.55, allocations: 24.94 kB / 3.405 GB, free: 31.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003964/10.55, allocations: 0.8976 MB / 3.405 GB, free: 30.48 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.007171/10.56, allocations: 4.725 MB / 3.41 GB, free: 25.36 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003325/10.57, allocations: 0.6779 MB / 3.411 GB, free: 24.67 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06162/10.63, allocations: 21.37 MB / 3.432 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.229e-05/10.63, allocations: 42.52 kB / 3.432 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 2.975e-06/10.63, allocations: 0 / 3.432 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of matching and sorting (n=60): time 0.04811/10.67, allocations: 4.311 MB / 3.436 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.31e-05/10.68, allocations: 111.3 kB / 3.436 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009591/10.68, allocations: 438 kB / 3.436 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001835/10.68, allocations: 37.7 kB / 3.436 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003248/10.68, allocations: 385.5 kB / 3.437 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002889/10.68, allocations: 201 kB / 3.437 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.859e-05/10.68, allocations: 12 kB / 3.437 GB, free: 11 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001522/10.68, allocations: 338.8 kB / 3.437 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/10.68, allocations: 377.7 kB / 3.438 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/10.68, allocations: 0.5743 MB / 3.438 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001876/10.68, allocations: 429.9 kB / 3.439 GB, free: 9.203 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/10.68, allocations: 4 kB / 3.439 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.005138/10.69, allocations: 1.219 MB / 3.44 GB, free: 7.965 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001111/10.69, allocations: 2.45 MB / 3.442 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/10.69, allocations: 8 kB / 3.442 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007845/10.7, allocations: 0.8988 MB / 3.443 GB, free: 4.418 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/10.7, allocations: 167.7 kB / 3.443 GB, free: 4.254 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004238/10.7, allocations: 1.69 MB / 3.445 GB, free: 2.512 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/10.7, allocations: 103.9 kB / 3.445 GB, free: 2.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/10.7, allocations: 47.97 kB / 3.445 GB, free: 2.363 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/10.7, allocations: 4 kB / 3.445 GB, free: 2.359 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005337/10.71, allocations: 1.178 MB / 3.446 GB, free: 1.172 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/10.71, allocations: 4 kB / 3.446 GB, free: 1.168 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004136/10.71, allocations: 0.5872 MB / 3.447 GB, free: 0.5742 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/10.72, allocations: 159.8 kB / 3.447 GB, free: 428 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3788/11.09, allocations: 1.615 MB / 3.448 GB, free: 69.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/11.1, allocations: 97.36 kB / 3.449 GB, free: 69.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/11.1, allocations: 47.89 kB / 3.449 GB, free: 69.48 MB / 0.4948 GB 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 (66): * Single equations (assignments): 64 * 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.0006634/11.1, allocations: 297.7 kB / 3.449 GB, free: 69.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002472/11.1, allocations: 64.41 kB / 3.449 GB, free: 69.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008901/11.11, allocations: 3.812 MB / 3.453 GB, free: 69.03 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.907e-05/11.11, allocations: 50.83 kB / 3.453 GB, free: 69.03 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/11.11, allocations: 0 / 3.453 GB, free: 69.03 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.229e-05/11.11, allocations: 4.125 kB / 3.453 GB, free: 69.03 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00983/11.12, allocations: 5.079 MB / 3.458 GB, free: 68.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/11.12, allocations: 1.312 kB / 3.458 GB, free: 68.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007406/11.12, allocations: 107.2 kB / 3.458 GB, free: 68.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007476/11.12, allocations: 1.665 MB / 3.459 GB, free: 68.52 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/11.12, allocations: 22.91 kB / 3.459 GB, free: 68.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003934/11.13, allocations: 2.362 MB / 3.462 GB, free: 67.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/11.13, allocations: 3.656 kB / 3.462 GB, free: 67.45 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005654/11.13, allocations: 2.599 MB / 3.464 GB, free: 67.11 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007146/11.13, allocations: 341.6 kB / 3.465 GB, free: 66.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/11.13, allocations: 18.73 kB / 3.465 GB, free: 66.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/11.14, allocations: 96.78 kB / 3.465 GB, free: 66.94 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001985/11.14, allocations: 62.09 kB / 3.465 GB, free: 66.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.597e-05/11.14, allocations: 27.52 kB / 3.465 GB, free: 66.94 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007323/11.14, allocations: 431.9 kB / 3.465 GB, free: 66.84 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.853e-06/11.14, allocations: 0 / 3.465 GB, free: 66.84 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007387/11.14, allocations: 1.561 MB / 3.467 GB, free: 66.84 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: 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 (47): * Single equations (assignments): 36 * 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.01725/11.16, allocations: 4.763 MB / 3.471 GB, free: 65.88 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006657/11.17, allocations: 1.984 MB / 3.473 GB, free: 65.84 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/11.17, allocations: 0 / 3.473 GB, free: 65.84 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00265/11.17, allocations: 1.127 MB / 3.474 GB, free: 65.82 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/11.17, allocations: 300.5 kB / 3.475 GB, free: 65.81 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2504/11.42, allocations: 83.66 MB / 3.556 GB, free: 56.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007007/11.42, allocations: 1.178 MB / 3.558 GB, free: 56.07 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007949/11.43, allocations: 437.2 kB / 3.558 GB, free: 56.07 MB / 0.4948 GB Notification: Performance of SimCode: time 1.112e-06/11.43, allocations: 0 / 3.558 GB, free: 56.07 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.225/15.65, allocations: 49.12 MB / 3.606 GB, free: 29.16 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