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.TestWaterPumpDCMotorHeatTransfer.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.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.266/2.266, allocations: 234.9 MB / 250.5 MB, free: 9.691 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006328/0.000633, allocations: 12 kB / 314.5 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3862/0.3869, allocations: 54.85 MB / 369.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.938/8.325, allocations: 2.629 GB / 2.989 GB, free: 91.01 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/8.325, allocations: 100.9 kB / 2.989 GB, free: 90.95 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.287/10.61, allocations: 457.6 MB / 3.436 GB, free: 22.24 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.427e-06/10.61, allocations: 0 / 3.436 GB, free: 22.24 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001894/10.61, allocations: 32 kB / 3.436 GB, free: 22.21 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.01181/10.62, allocations: 2.489 MB / 3.439 GB, free: 19.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/10.62, allocations: 8.031 kB / 3.439 GB, free: 19.67 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005661/10.63, allocations: 194.5 kB / 3.439 GB, free: 19.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004208/10.63, allocations: 443.2 kB / 3.439 GB, free: 19.04 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003202/10.63, allocations: 1.02 MB / 3.44 GB, free: 17.99 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/10.63, allocations: 102.7 kB / 3.44 GB, free: 17.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002682/10.63, allocations: 131.9 kB / 3.441 GB, free: 17.76 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005225/10.64, allocations: 1.694 MB / 3.442 GB, free: 15.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.674e-05/10.64, allocations: 7.938 kB / 3.442 GB, free: 15.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001943/10.64, allocations: 56 kB / 3.442 GB, free: 15.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.026e-05/10.64, allocations: 46.36 kB / 3.442 GB, free: 15.85 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005159/10.64, allocations: 1.375 MB / 3.444 GB, free: 14.47 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.01238/10.66, allocations: 7.648 MB / 3.451 GB, free: 6.328 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00368/10.66, allocations: 0.9119 MB / 3.452 GB, free: 5.406 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4461/11.11, allocations: 18.37 MB / 3.47 GB, free: 32.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.499e-05/11.11, allocations: 36.03 kB / 3.47 GB, free: 32.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=71): time 3.967e-06/11.11, allocations: 0 / 3.47 GB, free: 32.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.05381/11.16, allocations: 6.119 MB / 3.476 GB, free: 31.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1959/11.36, allocations: 42.99 MB / 3.518 GB, free: 26.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/11.36, allocations: 0.7807 MB / 3.519 GB, free: 26.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002289/11.36, allocations: 46.52 kB / 3.519 GB, free: 26.42 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004958/11.36, allocations: 0.713 MB / 3.519 GB, free: 26.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003698/11.36, allocations: 328.4 kB / 3.52 GB, free: 25.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/11.36, allocations: 26.28 kB / 3.52 GB, free: 25.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/11.36, allocations: 360.6 kB / 3.52 GB, free: 25.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/11.36, allocations: 485.3 kB / 3.521 GB, free: 25.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001841/11.36, allocations: 0.9779 MB / 3.522 GB, free: 24.96 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001878/11.36, allocations: 0.6116 MB / 3.522 GB, free: 24.92 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/11.36, allocations: 7.562 kB / 3.522 GB, free: 24.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=171) (initialization): time 0.005147/11.37, allocations: 1.722 MB / 3.524 GB, free: 24.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002168/11.37, allocations: 6.273 MB / 3.53 GB, free: 34.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.368e-05/11.37, allocations: 17.52 kB / 3.53 GB, free: 34.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008446/11.38, allocations: 1.015 MB / 3.531 GB, free: 34.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001953/11.38, allocations: 306.8 kB / 3.531 GB, free: 34.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003322/11.39, allocations: 1.619 MB / 3.533 GB, free: 33.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00228/11.39, allocations: 140.2 kB / 3.533 GB, free: 33.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000194/11.39, allocations: 86.34 kB / 3.533 GB, free: 33.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/11.39, allocations: 5.781 kB / 3.533 GB, free: 33.1 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006871/11.4, allocations: 1.865 MB / 3.535 GB, free: 33.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.436e-05/11.4, allocations: 18.89 kB / 3.535 GB, free: 33.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004674/11.4, allocations: 0.6704 MB / 3.536 GB, free: 32.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001874/11.4, allocations: 317.2 kB / 3.536 GB, free: 32.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003137/11.4, allocations: 1.574 MB / 3.537 GB, free: 31.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/11.41, allocations: 140.2 kB / 3.538 GB, free: 31.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/11.41, allocations: 79.02 kB / 3.538 GB, free: 31.93 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (150): * Single equations (assignments): 146 * Array equations: 2 * 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 8,2 9} Notification: Performance of prepare postOptimizeDAE: time 0.001109/11.41, allocations: 425.5 kB / 3.538 GB, free: 31.73 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003435/11.41, allocations: 117.7 kB / 3.538 GB, free: 31.68 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007445/11.42, allocations: 3.727 MB / 3.542 GB, free: 31.38 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006153/11.42, allocations: 3.177 MB / 3.545 GB, free: 31.17 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/11.42, allocations: 0 / 3.545 GB, free: 31.17 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.047e-05/11.42, allocations: 6.375 kB / 3.545 GB, free: 31.17 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/11.43, allocations: 5.925 MB / 3.551 GB, free: 30.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/11.43, allocations: 10.58 kB / 3.551 GB, free: 30.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/11.44, allocations: 175.3 kB / 3.551 GB, free: 30.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007408/11.44, allocations: 1.645 MB / 3.552 GB, free: 30.56 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000227/11.44, allocations: 33.12 kB / 3.552 GB, free: 30.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004408/11.45, allocations: 2.416 MB / 3.555 GB, free: 29.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.08732/11.53, allocations: 24.66 MB / 3.579 GB, free: 24.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008672/11.54, allocations: 3.922 MB / 3.583 GB, free: 23.99 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/11.54, allocations: 396.5 kB / 3.583 GB, free: 23.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002941/11.55, allocations: 21.38 kB / 3.583 GB, free: 23.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/11.55, allocations: 104.5 kB / 3.583 GB, free: 23.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000239/11.55, allocations: 81.28 kB / 3.583 GB, free: 23.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/11.55, allocations: 38.81 kB / 3.583 GB, free: 23.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001319/11.55, allocations: 0.644 MB / 3.584 GB, free: 23.23 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.11e-07/11.55, allocations: 0 / 3.584 GB, free: 23.23 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.02044/11.57, allocations: 4.018 MB / 3.588 GB, free: 19.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],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,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.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 (83): * Single equations (assignments): 75 * 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 6,3 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.04393/11.61, allocations: 7.608 MB / 3.595 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008541/11.62, allocations: 2.515 MB / 3.598 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/11.62, allocations: 0 / 3.598 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003259/11.62, allocations: 1.19 MB / 3.599 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003643/11.63, allocations: 395.8 kB / 3.599 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6797/12.31, allocations: 93.69 MB / 3.691 GB, free: 62.05 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/12.31, allocations: 1.434 MB / 3.692 GB, free: 61.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001556/12.31, allocations: 0.7356 MB / 3.693 GB, free: 61.32 MB / 0.5261 GB Notification: Performance of SimCode: time 2.685e-06/12.31, allocations: 0 / 3.693 GB, free: 61.32 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.409/18.72, allocations: 125.1 MB / 3.815 GB, free: 34.39 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat does not exist to compare? outputFormat=mat