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.TestWaterPumpPowerCharacteristic.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.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.505/2.505, allocations: 235 MB / 248.1 MB, free: 14.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.74e-05/6.763e-05, allocations: 4 kB / 309.8 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5035/0.5037, allocations: 54.86 MB / 364.6 MB, free: 5.422 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.937/8.441, allocations: 2.613 GB / 2.969 GB, free: 116.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003208/8.441, allocations: 85.92 kB / 2.969 GB, free: 116.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.178/10.62, allocations: 436.9 MB / 3.395 GB, free: 53.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.344e-06/10.62, allocations: 0 / 3.395 GB, free: 53.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.554e-05/10.62, allocations: 17.72 kB / 3.395 GB, free: 53.14 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.007961/10.63, allocations: 1.752 MB / 3.397 GB, free: 52.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/10.63, allocations: 9.312 kB / 3.397 GB, free: 52.21 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002405/10.63, allocations: 95.16 kB / 3.397 GB, free: 52.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003688/10.63, allocations: 333.6 kB / 3.398 GB, free: 52.09 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/10.63, allocations: 0.5822 MB / 3.398 GB, free: 51.72 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.339e-05/10.63, allocations: 47.16 kB / 3.398 GB, free: 51.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/10.63, allocations: 65.8 kB / 3.398 GB, free: 51.67 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003203/10.64, allocations: 0.9668 MB / 3.399 GB, free: 51.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.188e-05/10.64, allocations: 3.719 kB / 3.399 GB, free: 51.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/10.64, allocations: 26.3 kB / 3.399 GB, free: 51.22 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.501e-05/10.64, allocations: 20.06 kB / 3.399 GB, free: 51.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002986/10.64, allocations: 0.8158 MB / 3.4 GB, free: 50.98 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.006717/10.65, allocations: 4.45 MB / 3.404 GB, free: 47.19 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002925/10.65, allocations: 0.7327 MB / 3.405 GB, free: 46.95 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000563/10.65, allocations: 233.5 kB / 3.405 GB, free: 46.85 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2837/10.93, allocations: 83.24 MB / 3.487 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.913e-05/10.93, allocations: 39 kB / 3.487 GB, free: 18.77 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 3.196e-06/10.93, allocations: 0 / 3.487 GB, free: 18.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.007651/10.94, allocations: 1.853 MB / 3.489 GB, free: 17.14 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.576e-05/10.94, allocations: 115.2 kB / 3.489 GB, free: 17 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007748/10.94, allocations: 416.4 kB / 3.489 GB, free: 16.62 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001682/10.94, allocations: 37.7 kB / 3.489 GB, free: 16.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/10.94, allocations: 368.4 kB / 3.489 GB, free: 16.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/10.94, allocations: 182.8 kB / 3.49 GB, free: 16.07 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/10.94, allocations: 12 kB / 3.49 GB, free: 16.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001715/10.94, allocations: 341 kB / 3.49 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005312/10.94, allocations: 196.7 kB / 3.49 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006207/10.95, allocations: 397.8 kB / 3.49 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006293/10.95, allocations: 246.8 kB / 3.491 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/10.95, allocations: 4 kB / 3.491 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002598/10.95, allocations: 0.7893 MB / 3.491 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001057/10.95, allocations: 2.183 MB / 3.494 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/10.95, allocations: 4 kB / 3.494 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003761/10.95, allocations: 381.8 kB / 3.494 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/10.96, allocations: 142.5 kB / 3.494 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003188/10.96, allocations: 0.8616 MB / 3.495 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003225/10.96, allocations: 98.36 kB / 3.495 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003621/10.96, allocations: 39.75 kB / 3.495 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/10.96, allocations: 4 kB / 3.495 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006263/10.97, allocations: 0.7835 MB / 3.496 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.981e-05/10.97, allocations: 16.03 kB / 3.496 GB, free: 9.727 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003243/10.97, allocations: 271.4 kB / 3.496 GB, free: 9.516 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/10.97, allocations: 151.2 kB / 3.496 GB, free: 9.383 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003451/10.98, allocations: 0.8263 MB / 3.497 GB, free: 8.559 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/10.98, allocations: 85.02 kB / 3.497 GB, free: 8.492 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/10.98, allocations: 35.47 kB / 3.497 GB, free: 8.461 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (61): * Single equations (assignments): 60 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 18} Notification: Performance of prepare postOptimizeDAE: time 0.0003463/10.98, allocations: 153.5 kB / 3.497 GB, free: 8.309 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002651/10.98, allocations: 59.25 kB / 3.497 GB, free: 8.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005652/10.99, allocations: 2.853 MB / 3.5 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.326e-05/10.99, allocations: 41.72 kB / 3.5 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/10.99, allocations: 0 / 3.5 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.966e-05/10.99, allocations: 6.656 kB / 3.5 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00745/10.99, allocations: 3.983 MB / 3.504 GB, free: 2.102 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/10.99, allocations: 0 / 3.504 GB, free: 2.102 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/10.99, allocations: 175.9 kB / 3.504 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004961/11, allocations: 66.91 kB / 3.504 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-05/11, allocations: 19.59 kB / 3.504 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/11, allocations: 1.176 MB / 3.506 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/11, allocations: 3.328 kB / 3.506 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4624/11.46, allocations: 2.373 MB / 3.508 GB, free: 85.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009475/11.46, allocations: 315 kB / 3.508 GB, free: 85.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/11.46, allocations: 11.59 kB / 3.508 GB, free: 85.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/11.46, allocations: 77.48 kB / 3.508 GB, free: 85.51 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002596/11.46, allocations: 51.48 kB / 3.508 GB, free: 85.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/11.46, allocations: 27.75 kB / 3.508 GB, free: 85.51 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001112/11.46, allocations: 384.4 kB / 3.509 GB, free: 85.41 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.062e-06/11.46, allocations: 0 / 3.509 GB, free: 85.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01/11.47, allocations: 1.393 MB / 3.51 GB, free: 85.41 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$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 (68): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02081/11.49, allocations: 4.552 MB / 3.514 GB, free: 84.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005351/11.5, allocations: 1.293 MB / 3.516 GB, free: 84.58 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/11.5, allocations: 4.656 kB / 3.516 GB, free: 84.58 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002845/11.5, allocations: 0.8077 MB / 3.517 GB, free: 84.58 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003965/11.51, allocations: 300.8 kB / 3.517 GB, free: 84.58 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2619/11.77, allocations: 77.76 MB / 3.593 GB, free: 82.39 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006659/11.77, allocations: 1.164 MB / 3.594 GB, free: 81.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000853/11.77, allocations: 455.1 kB / 3.594 GB, free: 81.67 MB / 0.5105 GB Notification: Performance of SimCode: time 1.263e-06/11.77, allocations: 0 / 3.594 GB, free: 81.67 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.217/15.99, allocations: 45 MB / 3.638 GB, free: 69.27 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat does not exist to compare? outputFormat=mat