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.TestWaterPumpDCMotor.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.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.394/2.394, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004762, allocations: 12 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3611, allocations: 54.86 MB / 369.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.919/8.28, allocations: 2.628 GB / 2.989 GB, free: 63.15 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/8.281, allocations: 87.27 kB / 2.989 GB, free: 63.11 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.696/10.98, allocations: 456.8 MB / 3.435 GB, free: 42.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.138e-06/10.98, allocations: 2.297 kB / 3.435 GB, free: 42.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001874/10.98, allocations: 33.84 kB / 3.435 GB, free: 42.52 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.01259/10.99, allocations: 2.462 MB / 3.438 GB, free: 41.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/10.99, allocations: 9.75 kB / 3.438 GB, free: 41.59 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007515/10.99, allocations: 190.4 kB / 3.438 GB, free: 41.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004678/10.99, allocations: 444.5 kB / 3.438 GB, free: 41.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003566/11, allocations: 1.003 MB / 3.439 GB, free: 41.13 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/11, allocations: 107.2 kB / 3.439 GB, free: 41.12 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003598/11, allocations: 129.9 kB / 3.439 GB, free: 41.12 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005934/11, allocations: 1.661 MB / 3.441 GB, free: 40.83 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.179e-05/11.01, allocations: 11.05 kB / 3.441 GB, free: 40.83 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002141/11.01, allocations: 56.31 kB / 3.441 GB, free: 40.83 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.766e-05/11.01, allocations: 45.72 kB / 3.441 GB, free: 40.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005682/11.01, allocations: 1.35 MB / 3.442 GB, free: 40.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.01425/11.03, allocations: 7.67 MB / 3.45 GB, free: 36.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003889/11.03, allocations: 0.9055 MB / 3.451 GB, free: 36.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0556/11.08, allocations: 18.38 MB / 3.469 GB, free: 40.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.955e-05/11.09, allocations: 42.59 kB / 3.469 GB, free: 40.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=68): time 3.927e-06/11.09, allocations: 0 / 3.469 GB, free: 40.73 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92): time 0.05959/11.14, allocations: 6.47 MB / 3.475 GB, free: 39.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2063/11.35, allocations: 43.45 MB / 3.518 GB, free: 34.08 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/11.35, allocations: 0.7718 MB / 3.518 GB, free: 33.92 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002932/11.35, allocations: 41.36 kB / 3.518 GB, free: 33.89 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005862/11.35, allocations: 0.7167 MB / 3.519 GB, free: 33.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000481/11.35, allocations: 326.8 kB / 3.519 GB, free: 33.25 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/11.35, allocations: 26.91 kB / 3.519 GB, free: 33.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001961/11.35, allocations: 358.1 kB / 3.52 GB, free: 32.94 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00169/11.36, allocations: 477.1 kB / 3.52 GB, free: 32.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002079/11.36, allocations: 0.9693 MB / 3.521 GB, free: 32.29 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002197/11.36, allocations: 0.6018 MB / 3.522 GB, free: 32.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.736e-05/11.36, allocations: 3.844 kB / 3.522 GB, free: 32.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.006019/11.37, allocations: 1.709 MB / 3.523 GB, free: 32.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.003034/11.37, allocations: 6.36 MB / 3.53 GB, free: 25.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.245e-05/11.37, allocations: 17.47 kB / 3.53 GB, free: 25.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009031/11.38, allocations: 1.065 MB / 3.531 GB, free: 25.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/11.38, allocations: 298.8 kB / 3.531 GB, free: 25.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004413/11.39, allocations: 1.727 MB / 3.533 GB, free: 24.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002398/11.39, allocations: 120.6 kB / 3.533 GB, free: 24.33 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003801/11.39, allocations: 86.52 kB / 3.533 GB, free: 24.33 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/11.39, allocations: 3.969 kB / 3.533 GB, free: 24.33 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007469/11.4, allocations: 1.802 MB / 3.535 GB, free: 24.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.103e-05/11.4, allocations: 16.44 kB / 3.535 GB, free: 24.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004867/11.4, allocations: 0.6882 MB / 3.535 GB, free: 24.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001951/11.4, allocations: 308.5 kB / 3.536 GB, free: 24.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004126/11.41, allocations: 1.686 MB / 3.537 GB, free: 23.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/11.41, allocations: 121.2 kB / 3.537 GB, free: 23.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002009/11.41, allocations: 82.62 kB / 3.537 GB, free: 23.12 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * 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 (145): * Single equations (assignments): 143 * 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.001295/11.41, allocations: 421.3 kB / 3.538 GB, free: 22.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004086/11.41, allocations: 113.5 kB / 3.538 GB, free: 22.87 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01018/11.42, allocations: 3.852 MB / 3.542 GB, free: 22.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.684e-05/11.42, allocations: 39.23 kB / 3.542 GB, free: 22.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/11.42, allocations: 0 / 3.542 GB, free: 22.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.521e-05/11.42, allocations: 18.23 kB / 3.542 GB, free: 22.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01484/11.44, allocations: 5.921 MB / 3.547 GB, free: 21.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-05/11.44, allocations: 3.953 kB / 3.547 GB, free: 21.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/11.44, allocations: 167.6 kB / 3.548 GB, free: 21.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008536/11.45, allocations: 1.709 MB / 3.549 GB, free: 21.82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002391/11.45, allocations: 34.2 kB / 3.549 GB, free: 21.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005142/11.45, allocations: 2.435 MB / 3.552 GB, free: 20.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.09252/11.54, allocations: 25.14 MB / 3.576 GB, free: 28.16 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/11.55, allocations: 3.933 MB / 3.58 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/11.56, allocations: 394.2 kB / 3.581 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003231/11.56, allocations: 25.45 kB / 3.581 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001532/11.56, allocations: 92.25 kB / 3.581 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000219/11.56, allocations: 75.72 kB / 3.581 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/11.56, allocations: 43.75 kB / 3.581 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001394/11.56, allocations: 0.6632 MB / 3.581 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.42e-07/11.56, allocations: 0 / 3.581 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01909/11.58, allocations: 3.986 MB / 3.585 GB, free: 21.07 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 ($STATESET1.x,motor.inertiaRotor.phi,motor.la.i) * Number of discrete variables: 21 ($cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.region3boundary,$cse13.region3boundary,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.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 (75): * Single equations (assignments): 67 * 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,3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.04378/11.62, allocations: 7.742 MB / 3.593 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009079/11.63, allocations: 2.441 MB / 3.595 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/11.63, allocations: 3.938 kB / 3.595 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003673/11.64, allocations: 1.137 MB / 3.596 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003728/11.64, allocations: 387.3 kB / 3.597 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6928/12.33, allocations: 94.07 MB / 3.689 GB, free: 62.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/12.33, allocations: 1.429 MB / 3.69 GB, free: 61.58 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001497/12.33, allocations: 0.7215 MB / 3.691 GB, free: 61.58 MB / 0.5261 GB Notification: Performance of SimCode: time 1.172e-06/12.33, allocations: 0 / 3.691 GB, free: 61.58 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.552/18.89, allocations: 124.3 MB / 3.812 GB, free: 20.25 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat does not exist to compare? outputFormat=mat