Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultCV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01504/0.01504, allocations: 108.5 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.00181/0.00181, allocations: 181.4 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.042/2.042, allocations: 194.6 MB / 211.3 MB, free: 11.22 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2621/0.2621, allocations: 40.04 MB / 296.5 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006687/0.0006687, allocations: 16 kB / 361.2 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1153, allocations: 54.88 MB / 416 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV): time 0.361/0.4764, allocations: 35.28 MB / 451.3 MB, free: 32.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02932/0.5058, allocations: 17.38 MB / 468.7 MB, free: 32.21 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.507, allocations: 28.78 kB / 468.7 MB, free: 32.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001774/0.5088, allocations: 431.1 kB / 469.1 MB, free: 32.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01603/0.5248, allocations: 4.097 MB / 473.2 MB, free: 31.88 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01181/0.5367, allocations: 2.927 MB / 476.2 MB, free: 31.67 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002316/0.539, allocations: 1.031 MB / 477.2 MB, free: 31.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008146/0.5398, allocations: 379 kB / 477.6 MB, free: 31.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001887/0.5418, allocations: 0.6486 MB / 478.2 MB, free: 31.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01631/0.5581, allocations: 6.315 MB / 484.5 MB, free: 31.04 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002718/0.5584, allocations: 37 kB / 484.6 MB, free: 31.03 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02196/0.5804, allocations: 7.548 MB / 492.1 MB, free: 29.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003893/0.5809, allocations: 156.8 kB / 492.3 MB, free: 29.36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004274/0.5813, allocations: 174.2 kB / 492.4 MB, free: 29.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01074/0.5921, allocations: 3.574 MB / 496 MB, free: 28.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5921, allocations: 0 / 496 MB, free: 28.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.5921, allocations: 0 / 496 MB, free: 28.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.573e-05/0.5922, allocations: 1.219 kB / 496 MB, free: 28.78 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.007769/0.5999, allocations: 1.581 MB / 497.6 MB, free: 27.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.6, allocations: 8.938 kB / 497.6 MB, free: 27.82 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002734/0.6003, allocations: 103.6 kB / 497.7 MB, free: 27.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003437/0.6037, allocations: 317.2 kB / 498 MB, free: 27.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.6052, allocations: 0.527 MB / 498.5 MB, free: 27.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.181e-05/0.6053, allocations: 47.69 kB / 498.6 MB, free: 27.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001371/0.6055, allocations: 61.14 kB / 498.6 MB, free: 27.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004011/0.6095, allocations: 1.002 MB / 499.6 MB, free: 26.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/0.6096, allocations: 4.844 kB / 499.7 MB, free: 26.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.6097, allocations: 31.31 kB / 499.7 MB, free: 26.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.387e-05/0.6098, allocations: 21.78 kB / 499.7 MB, free: 26.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004361/0.6141, allocations: 0.9366 MB / 0.4889 GB, free: 26.59 MB / 378.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.007742/0.6219, allocations: 4.872 MB / 0.4937 GB, free: 22.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004296/0.6262, allocations: 0.8442 MB / 0.4945 GB, free: 22.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06742/0.6937, allocations: 21.65 MB / 0.5156 GB, free: 19.38 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.382e-05/0.6938, allocations: 43 kB / 0.5157 GB, free: 19.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=47): time 2.986e-06/0.6938, allocations: 0 / 0.5157 GB, free: 19.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=68): time 0.04914/0.743, allocations: 4.594 MB / 0.5202 GB, free: 14.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.815e-05/0.7431, allocations: 119.3 kB / 0.5203 GB, free: 14.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008722/0.744, allocations: 0.5027 MB / 0.5208 GB, free: 14.01 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001942/0.7442, allocations: 37.7 kB / 0.5208 GB, free: 13.97 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000288/0.7445, allocations: 354.9 kB / 0.5211 GB, free: 13.62 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/0.7448, allocations: 231 kB / 0.5214 GB, free: 13.4 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.038e-05/0.7449, allocations: 16 kB / 0.5214 GB, free: 13.38 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.745, allocations: 370.8 kB / 0.5217 GB, free: 13.01 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001939/0.747, allocations: 489.7 kB / 0.5222 GB, free: 12.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/0.7491, allocations: 0.6992 MB / 0.5229 GB, free: 11.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002141/0.7513, allocations: 0.5263 MB / 0.5234 GB, free: 11.22 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.7513, allocations: 0 / 0.5234 GB, free: 11.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.006813/0.7582, allocations: 1.564 MB / 0.5249 GB, free: 9.648 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009444/0.7591, allocations: 2.444 MB / 0.5273 GB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/0.7592, allocations: 8 kB / 0.5273 GB, free: 7.008 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01629/0.7755, allocations: 1.626 MB / 0.5289 GB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/0.7769, allocations: 175.7 kB / 0.5291 GB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005569/0.7825, allocations: 1.975 MB / 0.531 GB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001945/0.7845, allocations: 123.8 kB / 0.5311 GB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002048/0.7847, allocations: 49.22 kB / 0.5312 GB, free: 3.023 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.7848, allocations: 4 kB / 0.5312 GB, free: 3.02 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006662/0.7914, allocations: 1.477 MB / 0.5326 GB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/0.7915, allocations: 4 kB / 0.5326 GB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009178/0.8007, allocations: 1.008 MB / 0.5336 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.8021, allocations: 183.7 kB / 0.5338 GB, free: 348 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005185/0.8073, allocations: 1.874 MB / 0.5356 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.8091, allocations: 115.8 kB / 0.5357 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/0.8093, allocations: 43.98 kB / 0.5358 GB, free: 14.26 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (70): * Single equations (assignments): 68 * 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 14,2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0007271/0.81, allocations: 308.9 kB / 0.536 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002753/0.8103, allocations: 67.16 kB / 0.5361 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/0.821, allocations: 4.088 MB / 0.5401 GB, free: 9.742 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.977e-05/0.8211, allocations: 59.8 kB / 0.5402 GB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.8211, allocations: 0 / 0.5402 GB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.591e-05/0.8212, allocations: 3.984 kB / 0.5402 GB, free: 9.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01367/0.8349, allocations: 5.529 MB / 0.5456 GB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.042e-05/0.8349, allocations: 0 / 0.5456 GB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007855/0.8357, allocations: 110.8 kB / 0.5457 GB, free: 3.953 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01564/0.8514, allocations: 2.287 MB / 0.5479 GB, free: 1.664 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000193/0.8516, allocations: 23.98 kB / 0.5479 GB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006046/0.8577, allocations: 2.654 MB / 0.5505 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.8577, allocations: 0 / 0.5505 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008461/0.8662, allocations: 2.925 MB / 0.5534 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009151/0.8672, allocations: 362.6 kB / 0.5537 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/0.8674, allocations: 12 kB / 0.5537 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/0.8689, allocations: 115.7 kB / 0.5538 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002582/0.8692, allocations: 64.89 kB / 0.5539 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/0.8693, allocations: 27.98 kB / 0.5539 GB, free: 11.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008928/0.8702, allocations: 451 kB / 0.5544 GB, free: 10.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.8702, allocations: 0 / 0.5544 GB, free: 10.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008045/0.8783, allocations: 1.46 MB / 0.5558 GB, free: 9.449 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.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 (46): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 13,2 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02092/0.8993, allocations: 4.687 MB / 0.5604 GB, free: 4.812 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01014/0.9095, allocations: 2.381 MB / 0.5627 GB, free: 2.426 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/0.9095, allocations: 0 / 0.5627 GB, free: 2.426 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003729/0.9133, allocations: 1.221 MB / 0.5639 GB, free: 1.203 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002976/0.9163, allocations: 303.7 kB / 0.5642 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/0.9312, allocations: 8.512 MB / 0.5725 GB, free: 8.289 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009587/0.9322, allocations: 1.19 MB / 0.5736 GB, free: 7.074 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002249/0.9345, allocations: 0.7286 MB / 0.5744 GB, free: 6.352 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009347/0.9355, allocations: 447.3 kB / 0.5748 GB, free: 5.918 MB / 442.7 MB Notification: Performance of SimCode: time 9.82e-07/0.9355, allocations: 0 / 0.5748 GB, free: 5.918 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5463/1.482, allocations: 71.04 MB / 0.6442 GB, free: 162.4 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000265/1.482, allocations: 287.3 kB / 0.6444 GB, free: 162.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.844/8.326, allocations: 0 / 0.6444 GB, free: 162.1 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat does not exist to compare? outputFormat=mat