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.TestWaterPumpStorage.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.TestWaterPumpStorage,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpStorage",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.01096/0.01096, allocations: 104.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.001147/0.001147, allocations: 167.2 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.56/1.56, allocations: 170.9 MB / 187.5 MB, free: 0.8164 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.2503/0.2503, allocations: 38.09 MB / 265.1 MB, free: 3.926 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000618/0.0006185, allocations: 12 kB / 323.6 MB, free: 29.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09205/0.09271, allocations: 48.71 MB / 372.3 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage): time 0.05308/0.1459, allocations: 34.95 MB / 407.2 MB, free: 9.785 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0333/0.1792, allocations: 17.2 MB / 424.4 MB, free: 8.551 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.1803, allocations: 27.75 kB / 424.5 MB, free: 8.523 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.1821, allocations: 426 kB / 424.9 MB, free: 8.105 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01708/0.1992, allocations: 4.04 MB / 428.9 MB, free: 4.055 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01221/0.2115, allocations: 2.898 MB / 431.8 MB, free: 1.156 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002463/0.2139, allocations: 1.005 MB / 432.8 MB, free: 152 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2767/0.4907, allocations: 364.1 kB / 433.2 MB, free: 14.44 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002016/0.4928, allocations: 0.638 MB / 433.8 MB, free: 14.44 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01759/0.5104, allocations: 6.214 MB / 440 MB, free: 14.37 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002403/0.5107, allocations: 31.72 kB / 440.1 MB, free: 14.37 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01916/0.5298, allocations: 7.424 MB / 447.5 MB, free: 14.35 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002994/0.5302, allocations: 143.1 kB / 447.6 MB, free: 14.35 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003369/0.5306, allocations: 178.5 kB / 447.8 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008712/0.5393, allocations: 3.503 MB / 451.3 MB, free: 14.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5393, allocations: 2.094 kB / 451.3 MB, free: 14.16 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5394, allocations: 0 / 451.3 MB, free: 14.16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.5394, allocations: 0 / 451.3 MB, free: 14.16 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.005507/0.5449, allocations: 1.511 MB / 452.8 MB, free: 13.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.545, allocations: 8.438 kB / 452.8 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001941/0.5452, allocations: 96.39 kB / 452.9 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003172/0.5483, allocations: 303.7 kB / 453.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.5496, allocations: 0.5164 MB / 453.7 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.99e-05/0.5497, allocations: 52.78 kB / 453.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.5499, allocations: 56.2 kB / 453.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003497/0.5534, allocations: 0.9902 MB / 454.8 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.095e-05/0.5535, allocations: 7.766 kB / 454.8 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.5536, allocations: 24.25 kB / 454.9 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.282e-05/0.5536, allocations: 20.97 kB / 454.9 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003865/0.5575, allocations: 0.9097 MB / 455.8 MB, free: 12.7 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.005958/0.5635, allocations: 4.48 MB / 460.3 MB, free: 8.988 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003656/0.5672, allocations: 0.7894 MB / 461.1 MB, free: 8.793 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3076/0.8749, allocations: 83.86 MB / 0.5322 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.058e-05/0.875, allocations: 42.78 kB / 0.5322 GB, free: 15.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=48): time 2.776e-06/0.875, allocations: 0 / 0.5322 GB, free: 15.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=52): time 0.01071/0.8857, allocations: 2.271 MB / 0.5344 GB, free: 13.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/0.8858, allocations: 110.6 kB / 0.5345 GB, free: 13.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008813/0.8867, allocations: 498.9 kB / 0.535 GB, free: 13.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.8869, allocations: 36.33 kB / 0.535 GB, free: 13.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/0.8872, allocations: 332.2 kB / 0.5353 GB, free: 12.87 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002229/0.8874, allocations: 178.2 kB / 0.5355 GB, free: 12.72 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.595e-05/0.8875, allocations: 14.19 kB / 0.5355 GB, free: 12.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.8876, allocations: 370.3 kB / 0.5359 GB, free: 12.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.8888, allocations: 278.2 kB / 0.5361 GB, free: 12.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/0.8901, allocations: 475.5 kB / 0.5366 GB, free: 11.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.8914, allocations: 318.3 kB / 0.5369 GB, free: 11.53 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.8914, allocations: 4 kB / 0.5369 GB, free: 11.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004355/0.8957, allocations: 1.022 MB / 0.5379 GB, free: 10.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008488/0.8966, allocations: 2.178 MB / 0.54 GB, free: 8.465 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.8967, allocations: 12 kB / 0.54 GB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004018/0.9007, allocations: 458.8 kB / 0.5405 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.9017, allocations: 140.6 kB / 0.5406 GB, free: 7.934 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/0.9039, allocations: 0.921 MB / 0.5415 GB, free: 7.133 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.9052, allocations: 101.8 kB / 0.5416 GB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.9054, allocations: 34.48 kB / 0.5416 GB, free: 7.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.9054, allocations: 11.52 kB / 0.5417 GB, free: 7.012 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004231/0.9096, allocations: 0.9499 MB / 0.5426 GB, free: 6.344 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.9097, allocations: 5.875 kB / 0.5426 GB, free: 6.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002466/0.9122, allocations: 330.8 kB / 0.5429 GB, free: 6.059 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.9132, allocations: 146 kB / 0.543 GB, free: 5.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/0.9151, allocations: 0.8745 MB / 0.5439 GB, free: 5.156 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.9163, allocations: 90.69 kB / 0.544 GB, free: 5.078 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.139e-05/0.9164, allocations: 31.06 kB / 0.544 GB, free: 5.055 MB / 426.7 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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 {2 20} Notification: Performance of prepare postOptimizeDAE: time 0.0005351/0.9169, allocations: 293.3 kB / 0.5443 GB, free: 4.812 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.9171, allocations: 63.25 kB / 0.5444 GB, free: 4.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005794/0.9229, allocations: 2.914 MB / 0.5472 GB, free: 2.812 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.143e-05/0.923, allocations: 44.11 kB / 0.5472 GB, free: 2.781 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.923, allocations: 0 / 0.5472 GB, free: 2.781 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.923, allocations: 3.953 kB / 0.5472 GB, free: 2.777 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007481/0.9305, allocations: 4.075 MB / 0.5512 GB, free: 96 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.9306, allocations: 0 / 0.5512 GB, free: 96 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001363/0.932, allocations: 164.2 kB / 0.5514 GB, free: 15.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005722/0.9326, allocations: 76.97 kB / 0.5515 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.754e-05/0.9326, allocations: 21.62 kB / 0.5515 GB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000846/0.9335, allocations: 1.179 MB / 0.5526 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.9335, allocations: 0 / 0.5526 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005511/0.939, allocations: 2.593 MB / 0.5552 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000654/0.9397, allocations: 320.5 kB / 0.5555 GB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/0.9399, allocations: 10.06 kB / 0.5555 GB, free: 12.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009059/0.9408, allocations: 73.34 kB / 0.5555 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002025/0.941, allocations: 51.73 kB / 0.5556 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-05/0.9411, allocations: 30.84 kB / 0.5556 GB, free: 12.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007894/0.9419, allocations: 402.1 kB / 0.556 GB, free: 12.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.513e-06/0.942, allocations: 0 / 0.556 GB, free: 12.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005317/0.9473, allocations: 1.32 MB / 0.5573 GB, free: 10.99 MB / 442.7 MB 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,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse17.phase,$cse17.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 (67): * Single equations (assignments): 52 * 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.01464/0.962, allocations: 4.406 MB / 0.5616 GB, free: 7.625 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005438/0.9675, allocations: 1.514 MB / 0.5631 GB, free: 6.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.9675, allocations: 0 / 0.5631 GB, free: 6.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002188/0.9697, allocations: 0.8657 MB / 0.5639 GB, free: 6.082 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002788/0.9726, allocations: 291 kB / 0.5642 GB, free: 5.852 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.9842, allocations: 7.809 MB / 0.5718 GB, free: 14.44 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009535/0.9852, allocations: 1.166 MB / 0.573 GB, free: 13.26 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002054/0.9873, allocations: 0.713 MB / 0.5737 GB, free: 12.55 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000723/0.988, allocations: 448.7 kB / 0.5741 GB, free: 12.46 MB / 458.7 MB Notification: Performance of SimCode: time 8.91e-07/0.988, allocations: 2.906 kB / 0.5741 GB, free: 12.46 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4265/1.415, allocations: 58.86 MB / 0.6316 GB, free: 147 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002638/1.415, allocations: 273.8 kB / 0.6318 GB, free: 146.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.509/7.924, allocations: 4.062 kB / 0.6318 GB, free: 146.6 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat does not exist to compare? outputFormat=mat