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.497/2.497, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.756e-05/3.8e-05, allocations: 4 kB / 309.8 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4037, allocations: 54.85 MB / 364.6 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.276/8.679, allocations: 2.613 GB / 2.969 GB, free: 115.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/8.68, allocations: 82.66 kB / 2.969 GB, free: 115.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.208/10.89, allocations: 436.2 MB / 3.395 GB, free: 53.06 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.204e-06/10.89, allocations: 0 / 3.395 GB, free: 53.06 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.674e-05/10.89, allocations: 23.09 kB / 3.395 GB, free: 53.06 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.007836/10.9, allocations: 1.743 MB / 3.396 GB, free: 52.13 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/10.9, allocations: 7.719 kB / 3.396 GB, free: 52.13 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001831/10.9, allocations: 101.2 kB / 3.397 GB, free: 52.05 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0035/10.9, allocations: 324 kB / 3.397 GB, free: 52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/10.9, allocations: 0.586 MB / 3.397 GB, free: 51.63 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-05/10.9, allocations: 50.5 kB / 3.397 GB, free: 51.61 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/10.9, allocations: 52.59 kB / 3.397 GB, free: 51.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002956/10.9, allocations: 0.9625 MB / 3.398 GB, free: 51.15 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/10.9, allocations: 0 / 3.398 GB, free: 51.15 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/10.9, allocations: 23.56 kB / 3.398 GB, free: 51.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.034e-05/10.9, allocations: 30.44 kB / 3.398 GB, free: 51.13 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002726/10.91, allocations: 0.8021 MB / 3.399 GB, free: 50.9 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.006943/10.91, allocations: 4.719 MB / 3.404 GB, free: 46.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002524/10.92, allocations: 0.6182 MB / 3.404 GB, free: 46.77 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000479/10.92, allocations: 213.4 kB / 3.405 GB, free: 46.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06315/10.98, allocations: 21.46 MB / 3.426 GB, free: 32.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.87e-05/10.98, allocations: 37.8 kB / 3.426 GB, free: 32.53 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 3.497e-06/10.98, allocations: 3.594 kB / 3.426 GB, free: 32.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=60): time 0.04264/11.02, allocations: 3.754 MB / 3.429 GB, free: 31.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/11.02, allocations: 111.3 kB / 3.429 GB, free: 31.26 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007608/11.02, allocations: 424.3 kB / 3.43 GB, free: 31.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001794/11.02, allocations: 37.3 kB / 3.43 GB, free: 31.01 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/11.02, allocations: 385.6 kB / 3.43 GB, free: 30.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002216/11.03, allocations: 210.8 kB / 3.43 GB, free: 30.52 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.439e-05/11.03, allocations: 14.31 kB / 3.43 GB, free: 30.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.834e-05/11.03, allocations: 340.9 kB / 3.431 GB, free: 30.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007185/11.03, allocations: 272.6 kB / 3.431 GB, free: 30.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008531/11.03, allocations: 491.4 kB / 3.432 GB, free: 29.69 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009077/11.03, allocations: 329.2 kB / 3.432 GB, free: 29.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/11.03, allocations: 0 / 3.432 GB, free: 29.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002771/11.03, allocations: 0.9864 MB / 3.433 GB, free: 29.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005678/11.03, allocations: 2.44 MB / 3.435 GB, free: 26.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/11.03, allocations: 6.812 kB / 3.435 GB, free: 26.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006334/11.04, allocations: 0.8323 MB / 3.436 GB, free: 26.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/11.04, allocations: 156.3 kB / 3.436 GB, free: 26.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002758/11.04, allocations: 1.611 MB / 3.438 GB, free: 25.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/11.04, allocations: 107.6 kB / 3.438 GB, free: 25.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/11.04, allocations: 49.8 kB / 3.438 GB, free: 25.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/11.04, allocations: 4.562 kB / 3.438 GB, free: 25.03 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003023/11.05, allocations: 0.9432 MB / 3.439 GB, free: 24.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/11.05, allocations: 10.8 kB / 3.439 GB, free: 24.65 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00312/11.05, allocations: 0.5183 MB / 3.439 GB, free: 24.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/11.05, allocations: 163.5 kB / 3.439 GB, free: 24.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/11.05, allocations: 1.537 MB / 3.441 GB, free: 23.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/11.05, allocations: 98.84 kB / 3.441 GB, free: 23.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/11.05, allocations: 46.94 kB / 3.441 GB, free: 23.22 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 () * 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.000316/11.05, allocations: 151.3 kB / 3.441 GB, free: 23.08 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002365/11.06, allocations: 70.05 kB / 3.441 GB, free: 23.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007579/11.06, allocations: 3.916 MB / 3.445 GB, free: 21.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.57e-05/11.06, allocations: 45.67 kB / 3.445 GB, free: 21.19 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/11.06, allocations: 0 / 3.445 GB, free: 21.19 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-05/11.06, allocations: 3.562 kB / 3.445 GB, free: 21.19 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008134/11.07, allocations: 4.975 MB / 3.45 GB, free: 18.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/11.07, allocations: 3.406 kB / 3.45 GB, free: 18.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007594/11.07, allocations: 108.4 kB / 3.45 GB, free: 18.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006841/11.08, allocations: 1.776 MB / 3.452 GB, free: 18.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001583/11.08, allocations: 23.69 kB / 3.452 GB, free: 18.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003273/11.08, allocations: 2.365 MB / 3.454 GB, free: 16.69 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/11.08, allocations: 3.5 kB / 3.454 GB, free: 16.69 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004231/11.09, allocations: 2.471 MB / 3.457 GB, free: 15.42 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007524/11.09, allocations: 346.4 kB / 3.457 GB, free: 15.17 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/11.09, allocations: 11.88 kB / 3.457 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/11.09, allocations: 97.62 kB / 3.457 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/11.09, allocations: 53.45 kB / 3.457 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.626e-05/11.09, allocations: 40.44 kB / 3.457 GB, free: 15.12 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007338/11.09, allocations: 418 kB / 3.458 GB, free: 14.93 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.743e-06/11.09, allocations: 0 / 3.458 GB, free: 14.93 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007832/11.1, allocations: 1.559 MB / 3.459 GB, free: 14.61 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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete 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.01646/11.11, allocations: 4.555 MB / 3.464 GB, free: 10.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004537/11.12, allocations: 1.701 MB / 3.465 GB, free: 9.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/11.12, allocations: 0 / 3.465 GB, free: 9.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001986/11.12, allocations: 1.027 MB / 3.466 GB, free: 8.367 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003632/11.12, allocations: 297.2 kB / 3.466 GB, free: 8.156 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.63/11.75, allocations: 78.05 MB / 3.543 GB, free: 60.66 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006873/11.76, allocations: 1.172 MB / 3.544 GB, free: 59.95 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007637/11.76, allocations: 437.8 kB / 3.544 GB, free: 59.95 MB / 0.4948 GB Notification: Performance of SimCode: time 1.413e-06/11.76, allocations: 7.016 kB / 3.544 GB, free: 59.95 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.147/15.9, allocations: 50.24 MB / 3.593 GB, free: 56.45 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