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.TestWaterPumpVariableSpeed.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.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.315/2.315, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000443/0.0004433, allocations: 8 kB / 314.5 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.4244, allocations: 54.85 MB / 369.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.068/8.493, allocations: 2.613 GB / 2.973 GB, free: 81.99 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/8.493, allocations: 91.14 kB / 2.973 GB, free: 81.94 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.209/10.7, allocations: 437.6 MB / 3.401 GB, free: 34.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.574e-06/10.7, allocations: 0 / 3.401 GB, free: 34.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.784e-05/10.7, allocations: 19.12 kB / 3.401 GB, free: 34.92 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.008515/10.71, allocations: 1.854 MB / 3.403 GB, free: 33.03 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/10.71, allocations: 8.031 kB / 3.403 GB, free: 33.02 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003104/10.71, allocations: 102.5 kB / 3.403 GB, free: 32.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003669/10.71, allocations: 326 kB / 3.403 GB, free: 32.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001724/10.72, allocations: 0.5886 MB / 3.404 GB, free: 31.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.237e-05/10.72, allocations: 53.25 kB / 3.404 GB, free: 31.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/10.72, allocations: 52 kB / 3.404 GB, free: 31.88 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003707/10.72, allocations: 1.01 MB / 3.405 GB, free: 30.81 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.411e-05/10.72, allocations: 4 kB / 3.405 GB, free: 30.81 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/10.72, allocations: 28 kB / 3.405 GB, free: 30.78 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.194e-05/10.72, allocations: 21 kB / 3.405 GB, free: 30.76 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004123/10.72, allocations: 0.9404 MB / 3.406 GB, free: 29.82 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.006923/10.73, allocations: 4.611 MB / 3.41 GB, free: 24.83 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00371/10.74, allocations: 0.7927 MB / 3.411 GB, free: 24.03 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05414/10.79, allocations: 18.37 MB / 3.429 GB, free: 3.414 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/10.79, allocations: 38.94 kB / 3.429 GB, free: 3.367 MB / 490.7 MB Notification: Performance of pre-optimization done (n=45): time 3.527e-06/10.79, allocations: 3.938 kB / 3.429 GB, free: 3.363 MB / 490.7 MB Notification: Performance of matching and sorting (n=65): time 0.4356/11.23, allocations: 4.737 MB / 3.433 GB, free: 56.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/11.23, allocations: 112.5 kB / 3.434 GB, free: 55.92 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008737/11.23, allocations: 419.6 kB / 3.434 GB, free: 55.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001658/11.23, allocations: 35.08 kB / 3.434 GB, free: 55.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/11.23, allocations: 389.8 kB / 3.434 GB, free: 55.54 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002749/11.23, allocations: 221.4 kB / 3.435 GB, free: 55.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.159e-05/11.23, allocations: 14.56 kB / 3.435 GB, free: 55.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.791e-05/11.23, allocations: 339.1 kB / 3.435 GB, free: 55.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00185/11.23, allocations: 417.4 kB / 3.435 GB, free: 55.12 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001976/11.23, allocations: 0.6252 MB / 3.436 GB, free: 54.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002067/11.23, allocations: 478.5 kB / 3.436 GB, free: 54.85 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/11.23, allocations: 6.344 kB / 3.436 GB, free: 54.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.005545/11.24, allocations: 1.318 MB / 3.438 GB, free: 54.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007126/11.24, allocations: 2.622 MB / 3.44 GB, free: 52.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/11.24, allocations: 3.969 kB / 3.44 GB, free: 52.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008009/11.25, allocations: 0.9232 MB / 3.441 GB, free: 52.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/11.25, allocations: 188.3 kB / 3.441 GB, free: 52.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003908/11.25, allocations: 1.718 MB / 3.443 GB, free: 50.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/11.25, allocations: 111.5 kB / 3.443 GB, free: 50.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/11.25, allocations: 60.36 kB / 3.443 GB, free: 50.99 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/11.25, allocations: 4.219 kB / 3.443 GB, free: 50.99 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005622/11.26, allocations: 1.307 MB / 3.444 GB, free: 50.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/11.26, allocations: 7.438 kB / 3.444 GB, free: 50.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004228/11.26, allocations: 0.6089 MB / 3.445 GB, free: 50.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/11.27, allocations: 192.8 kB / 3.445 GB, free: 50.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003339/11.27, allocations: 1.657 MB / 3.447 GB, free: 49.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/11.27, allocations: 116.5 kB / 3.447 GB, free: 49.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/11.27, allocations: 48.84 kB / 3.447 GB, free: 49.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (71): * Single equations (assignments): 69 * 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.0006872/11.27, allocations: 297.1 kB / 3.447 GB, free: 49.71 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002236/11.27, allocations: 65.45 kB / 3.447 GB, free: 49.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008923/11.28, allocations: 3.655 MB / 3.451 GB, free: 49.42 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.484e-05/11.28, allocations: 36.66 kB / 3.451 GB, free: 49.42 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/11.28, allocations: 0 / 3.451 GB, free: 49.42 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/11.28, allocations: 3.891 kB / 3.451 GB, free: 49.42 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/11.29, allocations: 4.872 MB / 3.456 GB, free: 48.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/11.29, allocations: 8.984 kB / 3.456 GB, free: 48.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008914/11.29, allocations: 132.4 kB / 3.456 GB, free: 48.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007508/11.3, allocations: 1.658 MB / 3.457 GB, free: 48.92 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001515/11.3, allocations: 22.47 kB / 3.457 GB, free: 48.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004051/11.3, allocations: 2.378 MB / 3.46 GB, free: 47.85 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/11.3, allocations: 3.594 kB / 3.46 GB, free: 47.85 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006267/11.31, allocations: 2.508 MB / 3.462 GB, free: 47.53 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008524/11.31, allocations: 323.9 kB / 3.463 GB, free: 47.37 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/11.31, allocations: 13.34 kB / 3.463 GB, free: 47.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/11.31, allocations: 117.7 kB / 3.463 GB, free: 47.37 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002657/11.31, allocations: 62.19 kB / 3.463 GB, free: 47.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.777e-05/11.31, allocations: 33.7 kB / 3.463 GB, free: 47.37 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007221/11.31, allocations: 411.5 kB / 3.463 GB, free: 47.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.494e-06/11.31, allocations: 3.156 kB / 3.463 GB, free: 47.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008199/11.32, allocations: 1.568 MB / 3.465 GB, free: 47.27 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 21 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.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 (50): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 8,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01893/11.34, allocations: 4.731 MB / 3.469 GB, free: 46.21 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008228/11.35, allocations: 2.04 MB / 3.471 GB, free: 46.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/11.35, allocations: 3 kB / 3.471 GB, free: 46.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002949/11.35, allocations: 1.039 MB / 3.472 GB, free: 46.17 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002632/11.36, allocations: 298.5 kB / 3.473 GB, free: 46.16 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2469/11.6, allocations: 83.69 MB / 3.554 GB, free: 35.88 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006916/11.6, allocations: 1.138 MB / 3.555 GB, free: 34.88 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000814/11.6, allocations: 408.9 kB / 3.556 GB, free: 34.82 MB / 490.7 MB Notification: Performance of SimCode: time 2.144e-06/11.6, allocations: 0 / 3.556 GB, free: 34.82 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.17/15.77, allocations: 48.21 MB / 3.603 GB, free: 3.578 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat does not exist to compare? outputFormat=mat