Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01128/0.01128, allocations: 105.8 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.1.mo): time 0.001177/0.001177, allocations: 169.7 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.7/1.7, allocations: 170.9 MB / 187.6 MB, free: 0.8398 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2672/0.2672, allocations: 38.09 MB / 265.1 MB, free: 3.949 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004915/0.0004916, allocations: 15.98 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09095/0.09148, allocations: 48.7 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed): time 0.05424/0.1458, allocations: 34.97 MB / 407.3 MB, free: 9.777 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03477/0.1806, allocations: 17.2 MB / 424.5 MB, free: 8.539 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001393/0.1821, allocations: 31.75 kB / 424.5 MB, free: 8.508 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002729/0.1848, allocations: 434 kB / 424.9 MB, free: 8.082 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01932/0.2042, allocations: 4.04 MB / 429 MB, free: 4.031 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01264/0.2169, allocations: 2.893 MB / 431.9 MB, free: 1.133 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002621/0.2195, allocations: 0.9976 MB / 432.9 MB, free: 136 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2908/0.5104, allocations: 366.6 kB / 433.2 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002296/0.5127, allocations: 0.6378 MB / 433.8 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01854/0.5313, allocations: 6.212 MB / 440.1 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002615/0.5316, allocations: 29.91 kB / 440.1 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0197/0.5513, allocations: 7.423 MB / 447.5 MB, free: 14.3 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004321/0.5518, allocations: 150 kB / 447.7 MB, free: 14.3 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003727/0.5522, allocations: 178.4 kB / 447.8 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009092/0.5613, allocations: 3.501 MB / 451.3 MB, free: 14.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.5614, allocations: 1.859 kB / 451.3 MB, free: 14.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.5614, allocations: 3.844 kB / 451.3 MB, free: 14.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.5614, allocations: 0 / 451.3 MB, free: 14.11 MB / 330.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.005668/0.5671, allocations: 1.539 MB / 452.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.5672, allocations: 9.312 kB / 452.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002198/0.5674, allocations: 98.25 kB / 453 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003252/0.5707, allocations: 298.7 kB / 453.3 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.572, allocations: 0.5242 MB / 453.8 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.298e-05/0.5721, allocations: 45.89 kB / 453.8 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.5722, allocations: 53.75 kB / 453.9 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003668/0.5759, allocations: 1.004 MB / 454.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.498e-05/0.576, allocations: 8.75 kB / 454.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.5761, allocations: 24.75 kB / 454.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.13e-05/0.5761, allocations: 22.77 kB / 455 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004134/0.5803, allocations: 0.9437 MB / 455.9 MB, free: 12.63 MB / 330.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.006999/0.5873, allocations: 4.652 MB / 460.6 MB, free: 8.895 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003808/0.5912, allocations: 0.7993 MB / 461.4 MB, free: 8.699 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06726/0.6585, allocations: 18.57 MB / 479.9 MB, free: 6.207 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.31e-05/0.6586, allocations: 45.05 kB / 480 MB, free: 6.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=45): time 3.537e-06/0.6587, allocations: 0 / 480 MB, free: 6.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=65): time 0.05783/0.7165, allocations: 4.58 MB / 484.5 MB, free: 2.152 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/0.7167, allocations: 118.8 kB / 484.7 MB, free: 2.016 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/0.7188, allocations: 483.2 kB / 485.1 MB, free: 1.637 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006047/0.7195, allocations: 31.95 kB / 485.2 MB, free: 1.605 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004301/0.7199, allocations: 354.4 kB / 485.5 MB, free: 1.348 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003558/0.7203, allocations: 219.4 kB / 485.7 MB, free: 1.164 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.942e-05/0.7204, allocations: 17 kB / 485.7 MB, free: 1.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.7206, allocations: 367.8 kB / 486.1 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001959/0.7226, allocations: 419.9 kB / 486.5 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003724/0.7264, allocations: 0.6413 MB / 487.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004012/0.7305, allocations: 479.2 kB / 487.6 MB, free: 15.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.679e-05/0.731, allocations: 3.953 kB / 487.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.01026/0.7413, allocations: 1.365 MB / 489 MB, free: 14.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002499/0.7438, allocations: 2.609 MB / 491.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-05/0.744, allocations: 12 kB / 491.6 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01066/0.7547, allocations: 1.042 MB / 492.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.756, allocations: 184.3 kB / 492.8 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004286/0.7603, allocations: 1.749 MB / 494.6 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.762, allocations: 109.8 kB / 494.7 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/0.7621, allocations: 50.48 kB / 494.7 MB, free: 9.055 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.7622, allocations: 0 / 494.7 MB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00579/0.768, allocations: 1.301 MB / 496 MB, free: 8.133 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.768, allocations: 16.69 kB / 496.1 MB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005869/0.7739, allocations: 0.7122 MB / 496.8 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/0.7753, allocations: 187.8 kB / 497 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004533/0.7799, allocations: 1.72 MB / 498.7 MB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.7815, allocations: 113.3 kB / 498.8 MB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/0.7817, allocations: 49.09 kB / 498.8 MB, free: 5.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (71): * Single equations (assignments): 69 * 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.0006405/0.7823, allocations: 300.1 kB / 499.1 MB, free: 5.441 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/0.7825, allocations: 63.25 kB / 499.2 MB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/0.7926, allocations: 3.679 MB / 0.4911 GB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.267e-05/0.7927, allocations: 38.38 kB / 0.4911 GB, free: 2.918 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.7928, allocations: 0 / 0.4911 GB, free: 2.918 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-05/0.7928, allocations: 10.28 kB / 0.4911 GB, free: 2.914 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/0.8047, allocations: 4.956 MB / 0.496 GB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/0.8048, allocations: 0 / 0.496 GB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009616/0.8057, allocations: 129.9 kB / 0.4961 GB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009046/0.8148, allocations: 1.701 MB / 0.4978 GB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001911/0.8151, allocations: 23.23 kB / 0.4978 GB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005359/0.8204, allocations: 2.422 MB / 0.5001 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.367e-06/0.8205, allocations: 8.016 kB / 0.5001 GB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008886/0.8294, allocations: 2.5 MB / 0.5026 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009771/0.8304, allocations: 320.7 kB / 0.5029 GB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002562/0.8307, allocations: 15.28 kB / 0.5029 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001812/0.8325, allocations: 123.7 kB / 0.503 GB, free: 9.965 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003109/0.8329, allocations: 61.02 kB / 0.5031 GB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/0.833, allocations: 27.23 kB / 0.5031 GB, free: 9.891 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001025/0.8341, allocations: 418.7 kB / 0.5035 GB, free: 9.578 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.8341, allocations: 0 / 0.5035 GB, free: 9.578 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.008144/0.8423, allocations: 1.428 MB / 0.5049 GB, free: 8.23 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 21 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.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 (49): * Single equations (assignments): 41 * 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,2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.02241/0.8647, allocations: 4.332 MB / 0.5091 GB, free: 4.746 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01234/0.8771, allocations: 2.087 MB / 0.5112 GB, free: 3.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/0.8772, allocations: 0 / 0.5112 GB, free: 3.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004896/0.8821, allocations: 1.05 MB / 0.5122 GB, free: 2.598 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003566/0.8857, allocations: 287.8 kB / 0.5125 GB, free: 2.371 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01616/0.9019, allocations: 8.418 MB / 0.5207 GB, free: 10.36 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/0.9033, allocations: 1.141 MB / 0.5218 GB, free: 9.195 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002832/0.9062, allocations: 0.6356 MB / 0.5224 GB, free: 8.566 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/0.9073, allocations: 401.5 kB / 0.5228 GB, free: 8.477 MB / 394.7 MB Notification: Performance of SimCode: time 1.623e-06/0.9073, allocations: 0 / 0.5228 GB, free: 8.477 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1937/1.101, allocations: 67.25 MB / 0.5885 GB, free: 5.52 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000289/1.101, allocations: 283.4 kB / 0.5888 GB, free: 5.16 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.872/7.973, allocations: 0 / 0.5888 GB, free: 5.16 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat does not exist to compare? outputFormat=mat