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.387/2.387, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.833e-05/3.852e-05, allocations: 4 kB / 309.8 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4103, allocations: 54.86 MB / 364.6 MB, free: 5.422 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.256/8.666, allocations: 2.629 GB / 2.985 GB, free: 120 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/8.666, allocations: 86.92 kB / 2.985 GB, free: 120 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.261/10.93, allocations: 456.4 MB / 3.43 GB, free: 46.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.774e-06/10.93, allocations: 0 / 3.43 GB, free: 46.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001695/10.93, allocations: 33.73 kB / 3.43 GB, free: 46.32 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.01145/10.94, allocations: 2.315 MB / 3.433 GB, free: 44.99 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/10.94, allocations: 11.84 kB / 3.433 GB, free: 44.99 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007018/10.94, allocations: 198 kB / 3.433 GB, free: 44.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006575/10.95, allocations: 435.7 kB / 3.433 GB, free: 44.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004743/10.95, allocations: 1.024 MB / 3.434 GB, free: 44.14 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00018/10.95, allocations: 104.4 kB / 3.434 GB, free: 44.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004256/10.95, allocations: 131 kB / 3.435 GB, free: 44.05 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006716/10.96, allocations: 1.658 MB / 3.436 GB, free: 43.26 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.971e-05/10.96, allocations: 0 / 3.436 GB, free: 43.26 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002741/10.96, allocations: 59.72 kB / 3.436 GB, free: 43.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.407e-05/10.96, allocations: 46.89 kB / 3.436 GB, free: 43.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006239/10.97, allocations: 1.267 MB / 3.437 GB, free: 42.79 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.01806/10.98, allocations: 7.653 MB / 3.445 GB, free: 36.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004176/10.99, allocations: 0.8441 MB / 3.446 GB, free: 36.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009969/10.99, allocations: 307.7 kB / 3.446 GB, free: 36.57 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06289/11.05, allocations: 18.43 MB / 3.464 GB, free: 18.93 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/11.05, allocations: 39.34 kB / 3.464 GB, free: 18.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=71): time 4.528e-06/11.05, allocations: 0 / 3.464 GB, free: 18.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.0572/11.11, allocations: 5.411 MB / 3.469 GB, free: 13.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.6032/11.71, allocations: 42.82 MB / 3.511 GB, free: 51.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/11.71, allocations: 0.7691 MB / 3.512 GB, free: 51.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002693/11.72, allocations: 39.89 kB / 3.512 GB, free: 51.01 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005367/11.72, allocations: 0.7195 MB / 3.513 GB, free: 50.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000461/11.72, allocations: 329.9 kB / 3.513 GB, free: 50.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/11.72, allocations: 28.66 kB / 3.513 GB, free: 50.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001232/11.72, allocations: 371.8 kB / 3.513 GB, free: 50.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001211/11.72, allocations: 406.2 kB / 3.514 GB, free: 50.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/11.72, allocations: 0.8981 MB / 3.515 GB, free: 49.71 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001742/11.72, allocations: 0.5268 MB / 3.515 GB, free: 49.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.401e-05/11.72, allocations: 3.875 kB / 3.515 GB, free: 49.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=171) (initialization): time 0.004637/11.73, allocations: 1.527 MB / 3.517 GB, free: 49.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001591/11.73, allocations: 6.271 MB / 3.523 GB, free: 43.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.156e-05/11.73, allocations: 21.72 kB / 3.523 GB, free: 43.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007992/11.74, allocations: 0.9358 MB / 3.524 GB, free: 43.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002109/11.74, allocations: 318.3 kB / 3.524 GB, free: 43.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002735/11.74, allocations: 1.537 MB / 3.526 GB, free: 42.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002616/11.74, allocations: 136.5 kB / 3.526 GB, free: 42.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003735/11.74, allocations: 87.91 kB / 3.526 GB, free: 42.02 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/11.74, allocations: 3.656 kB / 3.526 GB, free: 42.02 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006088/11.75, allocations: 1.671 MB / 3.527 GB, free: 41.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.733e-05/11.75, allocations: 15.28 kB / 3.527 GB, free: 41.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004262/11.75, allocations: 0.6111 MB / 3.528 GB, free: 41.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002082/11.76, allocations: 313.7 kB / 3.528 GB, free: 41.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002583/11.76, allocations: 1.505 MB / 3.53 GB, free: 40.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001997/11.76, allocations: 130.8 kB / 3.53 GB, free: 40.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002404/11.76, allocations: 85.72 kB / 3.53 GB, free: 40.88 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 () * 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.0004866/11.76, allocations: 197.7 kB / 3.53 GB, free: 40.77 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004231/11.76, allocations: 119.8 kB / 3.53 GB, free: 40.71 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008178/11.77, allocations: 3.833 MB / 3.534 GB, free: 40.44 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006904/11.78, allocations: 3.29 MB / 3.537 GB, free: 40.23 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/11.78, allocations: 192 / 3.537 GB, free: 40.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-05/11.78, allocations: 4.266 kB / 3.537 GB, free: 40.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01206/11.79, allocations: 5.852 MB / 3.543 GB, free: 39.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/11.79, allocations: 0 / 3.543 GB, free: 39.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/11.79, allocations: 182.3 kB / 3.543 GB, free: 39.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00715/11.8, allocations: 1.762 MB / 3.545 GB, free: 39.65 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002403/11.8, allocations: 30.92 kB / 3.545 GB, free: 39.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00455/11.8, allocations: 2.406 MB / 3.547 GB, free: 54.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.04875/11.85, allocations: 17.94 MB / 3.565 GB, free: 51.82 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007251/11.86, allocations: 3.8 MB / 3.568 GB, free: 51.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/11.86, allocations: 390 kB / 3.569 GB, free: 51.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004131/11.86, allocations: 19.56 kB / 3.569 GB, free: 51.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001867/11.86, allocations: 113.4 kB / 3.569 GB, free: 51.21 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003091/11.86, allocations: 75.34 kB / 3.569 GB, free: 51.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/11.86, allocations: 42.89 kB / 3.569 GB, free: 51.21 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001399/11.86, allocations: 0.6244 MB / 3.57 GB, free: 51.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.22e-07/11.86, allocations: 2.25 kB / 3.57 GB, free: 51.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.02022/11.88, allocations: 4.035 MB / 3.574 GB, free: 50.96 MB / 0.5105 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 () * 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.04335/11.93, allocations: 7.356 MB / 3.581 GB, free: 49.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007151/11.94, allocations: 2.279 MB / 3.583 GB, free: 49.55 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/11.94, allocations: 0 / 3.583 GB, free: 49.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002795/11.94, allocations: 1.104 MB / 3.584 GB, free: 49.53 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003797/11.94, allocations: 388.5 kB / 3.584 GB, free: 49.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3032/12.25, allocations: 79.68 MB / 3.662 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001307/12.25, allocations: 1.441 MB / 3.664 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001499/12.25, allocations: 0.7288 MB / 3.664 GB, free: 21.38 MB / 0.5105 GB Notification: Performance of SimCode: time 1.443e-06/12.25, allocations: 0 / 3.664 GB, free: 21.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.212/19.46, allocations: 125.1 MB / 3.787 GB, free: 44.62 MB / 0.5105 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