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.TestWaterPumpStorage.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.TestWaterPumpStorage,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.0108/0.0108, 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.001205/0.001205, allocations: 181.3 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.014/2.014, allocations: 194.6 MB / 211.3 MB, free: 11.23 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.2663/0.2663, allocations: 40.04 MB / 296.5 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004702/0.0004703, allocations: 11.98 kB / 361.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1165, allocations: 54.89 MB / 416 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage): time 0.3588/0.4754, allocations: 35.2 MB / 451.2 MB, free: 32.53 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02862/0.5041, allocations: 17.32 MB / 468.6 MB, free: 32.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/0.5052, allocations: 28.03 kB / 468.6 MB, free: 32.28 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001725/0.507, allocations: 437.3 kB / 469 MB, free: 32.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0163/0.5233, allocations: 4.077 MB / 473.1 MB, free: 31.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01223/0.5356, allocations: 2.923 MB / 476 MB, free: 31.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002313/0.5379, allocations: 1.01 MB / 477 MB, free: 31.72 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008385/0.5388, allocations: 368 kB / 477.4 MB, free: 31.67 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/0.5407, allocations: 0.6359 MB / 478 MB, free: 31.57 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01634/0.5571, allocations: 6.31 MB / 484.3 MB, free: 31.13 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000248/0.5574, allocations: 29.91 kB / 484.4 MB, free: 31.13 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02212/0.5796, allocations: 7.55 MB / 491.9 MB, free: 29.53 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003831/0.58, allocations: 146.2 kB / 492 MB, free: 29.46 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004276/0.5804, allocations: 171.7 kB / 492.2 MB, free: 29.37 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01106/0.5915, allocations: 3.548 MB / 495.8 MB, free: 28.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.5916, allocations: 0.9062 kB / 495.8 MB, free: 28.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.5916, allocations: 0 / 495.8 MB, free: 28.89 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.099e-05/0.5916, allocations: 0 / 495.8 MB, free: 28.89 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.007742/0.5994, allocations: 1.554 MB / 497.3 MB, free: 27.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.5994, allocations: 9.125 kB / 497.3 MB, free: 27.93 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000253/0.5997, allocations: 101.1 kB / 497.4 MB, free: 27.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003505/0.6032, allocations: 307.3 kB / 497.7 MB, free: 27.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.6047, allocations: 0.5214 MB / 498.2 MB, free: 27.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.159e-05/0.6048, allocations: 47.28 kB / 498.3 MB, free: 27.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.6049, allocations: 57.06 kB / 498.3 MB, free: 27.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003856/0.6088, allocations: 0.9915 MB / 499.3 MB, free: 26.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.805e-05/0.6089, allocations: 5.094 kB / 499.3 MB, free: 26.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.609, allocations: 23.78 kB / 499.4 MB, free: 26.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.952e-05/0.6091, allocations: 26.84 kB / 499.4 MB, free: 26.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004208/0.6133, allocations: 0.9093 MB / 0.4886 GB, free: 26.73 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.00657/0.6199, allocations: 4.477 MB / 0.4929 GB, free: 22.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003879/0.6238, allocations: 0.7857 MB / 0.4937 GB, free: 22.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.32/0.9439, allocations: 83.93 MB / 0.5757 GB, free: 15.39 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/0.944, allocations: 39 kB / 0.5757 GB, free: 15.34 MB / 458.7 MB Notification: Performance of pre-optimization done (n=48): time 2.505e-06/0.944, allocations: 4 kB / 0.5757 GB, free: 15.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=52): time 0.01126/0.9552, allocations: 2.282 MB / 0.578 GB, free: 13.01 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.878e-05/0.9554, allocations: 115.2 kB / 0.5781 GB, free: 12.87 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009325/0.9563, allocations: 482.8 kB / 0.5785 GB, free: 12.39 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001444/0.9565, allocations: 37.69 kB / 0.5786 GB, free: 12.35 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003203/0.9568, allocations: 335.1 kB / 0.5789 GB, free: 12.02 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002457/0.9571, allocations: 180.6 kB / 0.579 GB, free: 11.84 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/0.9571, allocations: 16 kB / 0.5791 GB, free: 11.83 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.9573, allocations: 366.8 kB / 0.5794 GB, free: 11.46 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/0.9586, allocations: 281.1 kB / 0.5797 GB, free: 11.19 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/0.96, allocations: 470 kB / 0.5801 GB, free: 10.65 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.9613, allocations: 330 kB / 0.5804 GB, free: 10.32 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.9614, allocations: 0 / 0.5804 GB, free: 10.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004517/0.9659, allocations: 1.026 MB / 0.5814 GB, free: 9.289 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008241/0.9668, allocations: 2.179 MB / 0.5836 GB, free: 6.938 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/0.9668, allocations: 8 kB / 0.5836 GB, free: 6.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004145/0.971, allocations: 456.3 kB / 0.584 GB, free: 6.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.9721, allocations: 143.8 kB / 0.5842 GB, free: 6.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/0.9743, allocations: 0.9184 MB / 0.5851 GB, free: 5.398 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.9756, allocations: 99.81 kB / 0.5851 GB, free: 5.301 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.9758, allocations: 31.98 kB / 0.5852 GB, free: 5.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.9758, allocations: 4 kB / 0.5852 GB, free: 5.266 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004331/0.9801, allocations: 0.9547 MB / 0.5861 GB, free: 4.309 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.9802, allocations: 12.03 kB / 0.5861 GB, free: 4.297 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002465/0.9827, allocations: 334.1 kB / 0.5864 GB, free: 3.973 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.9838, allocations: 147.8 kB / 0.5866 GB, free: 3.828 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/0.9857, allocations: 0.8684 MB / 0.5874 GB, free: 2.934 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.9869, allocations: 87.98 kB / 0.5875 GB, free: 2.848 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.987, allocations: 31.98 kB / 0.5875 GB, free: 2.816 MB / 458.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.0005978/0.9877, allocations: 295.3 kB / 0.5878 GB, free: 2.52 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.9879, allocations: 59.25 kB / 0.5879 GB, free: 2.461 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006565/0.9944, allocations: 2.927 MB / 0.5907 GB, free: 15.55 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.435e-05/0.9946, allocations: 43.94 kB / 0.5908 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.9946, allocations: 0 / 0.5908 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.025e-05/0.9946, allocations: 3.984 kB / 0.5908 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008577/1.003, allocations: 4.058 MB / 0.5948 GB, free: 11.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/1.003, allocations: 0 / 0.5948 GB, free: 11.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001389/1.005, allocations: 171.8 kB / 0.5949 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000594/1.005, allocations: 72.78 kB / 0.595 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.883e-05/1.005, allocations: 19.94 kB / 0.595 GB, free: 11.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008898/1.006, allocations: 1.181 MB / 0.5962 GB, free: 9.91 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.006, allocations: 0 / 0.5962 GB, free: 9.91 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006114/1.012, allocations: 2.586 MB / 0.5987 GB, free: 7.297 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007571/1.013, allocations: 318.8 kB / 0.599 GB, free: 6.965 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/1.013, allocations: 16 kB / 0.599 GB, free: 6.949 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009334/1.014, allocations: 71.92 kB / 0.5991 GB, free: 6.879 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/1.015, allocations: 52.47 kB / 0.5991 GB, free: 6.828 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-05/1.015, allocations: 26.86 kB / 0.5991 GB, free: 6.805 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008306/1.016, allocations: 395.1 kB / 0.5995 GB, free: 6.422 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.016, allocations: 0 / 0.5995 GB, free: 6.422 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007534/1.023, allocations: 1.328 MB / 0.6008 GB, free: 5.094 MB / 474.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.0184/1.042, allocations: 4.421 MB / 0.6051 GB, free: 0.7656 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005697/1.047, allocations: 1.511 MB / 0.6066 GB, free: 15.26 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/1.047, allocations: 4.438 kB / 0.6066 GB, free: 15.25 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002313/1.05, allocations: 0.8597 MB / 0.6075 GB, free: 14.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002817/1.052, allocations: 294.5 kB / 0.6077 GB, free: 14.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01299/1.066, allocations: 7.806 MB / 0.6154 GB, free: 6.207 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009151/1.066, allocations: 1.162 MB / 0.6165 GB, free: 5.016 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00208/1.069, allocations: 0.7199 MB / 0.6172 GB, free: 4.305 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009142/1.07, allocations: 451.3 kB / 0.6176 GB, free: 3.863 MB / 490.7 MB Notification: Performance of SimCode: time 1.182e-06/1.07, allocations: 0 / 0.6176 GB, free: 3.863 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4478/1.517, allocations: 59.16 MB / 0.6754 GB, free: 141.3 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001884/1.518, allocations: 277.9 kB / 0.6757 GB, free: 140.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.315/7.832, allocations: 0 / 0.6757 GB, free: 140.9 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat does not exist to compare? outputFormat=mat