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.TestWaterPumpDefaultCV.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.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.309/2.309, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000439/0.0004391, allocations: 16 kB / 314.5 MB, free: 9.441 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3555, allocations: 54.86 MB / 369.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.915/8.271, allocations: 2.613 GB / 2.974 GB, free: 79 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/8.271, allocations: 90.33 kB / 2.974 GB, free: 78.95 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.241/10.51, allocations: 438.6 MB / 3.402 GB, free: 30.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.206e-06/10.51, allocations: 0 / 3.402 GB, free: 30.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.219e-05/10.51, allocations: 16 kB / 3.402 GB, free: 30.91 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.00837/10.52, allocations: 1.872 MB / 3.404 GB, free: 29.01 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/10.52, allocations: 12.03 kB / 3.404 GB, free: 29 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003376/10.52, allocations: 106.5 kB / 3.404 GB, free: 28.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003722/10.53, allocations: 326.5 kB / 3.404 GB, free: 28.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001836/10.53, allocations: 0.6028 MB / 3.405 GB, free: 27.94 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.605e-05/10.53, allocations: 53.28 kB / 3.405 GB, free: 27.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/10.53, allocations: 56 kB / 3.405 GB, free: 27.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003778/10.53, allocations: 1.011 MB / 3.406 GB, free: 26.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/10.53, allocations: 0 / 3.406 GB, free: 26.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/10.53, allocations: 28 kB / 3.406 GB, free: 26.74 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.204e-05/10.53, allocations: 21.31 kB / 3.406 GB, free: 26.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004126/10.54, allocations: 0.929 MB / 3.407 GB, free: 25.81 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.008168/10.54, allocations: 4.763 MB / 3.412 GB, free: 20.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004176/10.55, allocations: 0.8112 MB / 3.413 GB, free: 19.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4525/11, allocations: 21.36 MB / 3.433 GB, free: 51.72 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.884e-05/11, allocations: 38.69 kB / 3.433 GB, free: 51.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=47): time 3.667e-06/11, allocations: 0 / 3.433 GB, free: 51.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=68): time 0.05294/11.05, allocations: 4.838 MB / 3.438 GB, free: 51.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/11.05, allocations: 107.6 kB / 3.438 GB, free: 50.95 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009184/11.05, allocations: 453.1 kB / 3.439 GB, free: 50.83 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002068/11.05, allocations: 38.2 kB / 3.439 GB, free: 50.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000251/11.05, allocations: 391.2 kB / 3.439 GB, free: 50.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002977/11.06, allocations: 233.5 kB / 3.439 GB, free: 50.46 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.08e-05/11.06, allocations: 16.12 kB / 3.439 GB, free: 50.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.078e-05/11.06, allocations: 337.6 kB / 3.44 GB, free: 50.14 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001979/11.06, allocations: 467.1 kB / 3.44 GB, free: 50.14 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002083/11.06, allocations: 0.667 MB / 3.441 GB, free: 49.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002315/11.06, allocations: 0.4972 MB / 3.441 GB, free: 49.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/11.06, allocations: 5.281 kB / 3.441 GB, free: 49.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.006487/11.07, allocations: 1.476 MB / 3.443 GB, free: 49.81 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005838/11.07, allocations: 2.44 MB / 3.445 GB, free: 47.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/11.07, allocations: 6.875 kB / 3.445 GB, free: 47.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01352/11.08, allocations: 1.455 MB / 3.446 GB, free: 47.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/11.08, allocations: 170.7 kB / 3.447 GB, free: 47.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004667/11.09, allocations: 1.916 MB / 3.449 GB, free: 46.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/11.09, allocations: 121.3 kB / 3.449 GB, free: 46.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/11.09, allocations: 48.45 kB / 3.449 GB, free: 46.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/11.09, allocations: 10.05 kB / 3.449 GB, free: 46.19 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006247/11.1, allocations: 1.422 MB / 3.45 GB, free: 46.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/11.1, allocations: 3.812 kB / 3.45 GB, free: 46.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006094/11.1, allocations: 0.8171 MB / 3.451 GB, free: 46.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/11.1, allocations: 187.9 kB / 3.451 GB, free: 46.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003971/11.11, allocations: 1.784 MB / 3.453 GB, free: 45.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/11.11, allocations: 121 kB / 3.453 GB, free: 45.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/11.11, allocations: 47.69 kB / 3.453 GB, free: 45.1 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 (70): * Single equations (assignments): 68 * 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 14,2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0007125/11.11, allocations: 305.5 kB / 3.453 GB, free: 44.91 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000262/11.11, allocations: 71.22 kB / 3.453 GB, free: 44.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008966/11.12, allocations: 4.041 MB / 3.457 GB, free: 44.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-05/11.12, allocations: 41.75 kB / 3.457 GB, free: 44.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/11.12, allocations: 3.094 kB / 3.457 GB, free: 44.54 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.109e-05/11.12, allocations: 11.25 kB / 3.457 GB, free: 44.54 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01176/11.13, allocations: 5.526 MB / 3.463 GB, free: 44.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/11.13, allocations: 0 / 3.463 GB, free: 44.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007415/11.13, allocations: 110 kB / 3.463 GB, free: 44.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01279/11.15, allocations: 2.159 MB / 3.465 GB, free: 43.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001696/11.15, allocations: 24.91 kB / 3.465 GB, free: 43.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004951/11.15, allocations: 2.589 MB / 3.467 GB, free: 42.91 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.299e-06/11.15, allocations: 13.09 kB / 3.468 GB, free: 42.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007639/11.16, allocations: 2.948 MB / 3.47 GB, free: 42.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007624/11.16, allocations: 359.7 kB / 3.471 GB, free: 42.38 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/11.16, allocations: 15.06 kB / 3.471 GB, free: 42.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001307/11.16, allocations: 111.8 kB / 3.471 GB, free: 42.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002508/11.16, allocations: 62.67 kB / 3.471 GB, free: 42.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/11.16, allocations: 39.27 kB / 3.471 GB, free: 42.37 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007617/11.16, allocations: 441.7 kB / 3.471 GB, free: 42.28 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.31e-07/11.16, allocations: 0 / 3.471 GB, free: 42.28 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007787/11.17, allocations: 1.592 MB / 3.473 GB, free: 42.25 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,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.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 13,2 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01893/11.19, allocations: 5.043 MB / 3.478 GB, free: 41.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00786/11.2, allocations: 2.288 MB / 3.48 GB, free: 41.16 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/11.2, allocations: 3.531 kB / 3.48 GB, free: 41.16 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003003/11.2, allocations: 1.199 MB / 3.481 GB, free: 41.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002859/11.2, allocations: 301.7 kB / 3.482 GB, free: 41.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2535/11.46, allocations: 83.76 MB / 3.563 GB, free: 26.05 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007479/11.46, allocations: 1.197 MB / 3.565 GB, free: 25 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008012/11.46, allocations: 445.6 kB / 3.565 GB, free: 24.61 MB / 490.7 MB Notification: Performance of SimCode: time 1.133e-06/11.46, allocations: 0 / 3.565 GB, free: 24.61 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.119/15.58, allocations: 50.14 MB / 3.614 GB, free: 5.699 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat does not exist to compare? outputFormat=mat