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.TestWaterPumpPowerCharacteristic.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.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",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.01081/0.01081, allocations: 106.2 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.001202/0.001202, allocations: 182 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 1.919/1.919, allocations: 194.6 MB / 211.3 MB, free: 10.96 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.262/0.262, allocations: 40.04 MB / 296.5 MB, free: 6.109 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006387/0.0006388, allocations: 12 kB / 361.1 MB, free: 9.504 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.114, allocations: 54.88 MB / 416 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic): time 0.3599/0.474, allocations: 35.21 MB / 451.2 MB, free: 32.6 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02829/0.5023, allocations: 17.32 MB / 468.6 MB, free: 32.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009901/0.5034, allocations: 27.44 kB / 468.6 MB, free: 32.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001588/0.505, allocations: 434.1 kB / 469 MB, free: 32.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0155/0.5205, allocations: 4.082 MB / 473.1 MB, free: 32.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01163/0.5321, allocations: 2.922 MB / 476 MB, free: 31.81 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002207/0.5344, allocations: 1.009 MB / 477 MB, free: 31.78 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007264/0.5351, allocations: 375.9 kB / 477.4 MB, free: 31.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001756/0.5369, allocations: 0.6409 MB / 478 MB, free: 31.63 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01614/0.5531, allocations: 6.308 MB / 484.3 MB, free: 31.08 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002287/0.5533, allocations: 30.28 kB / 484.4 MB, free: 31.08 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02174/0.5751, allocations: 7.633 MB / 492 MB, free: 29.47 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004039/0.5756, allocations: 144.7 kB / 492.1 MB, free: 29.41 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004159/0.576, allocations: 171.7 kB / 492.3 MB, free: 29.31 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01099/0.587, allocations: 3.57 MB / 495.9 MB, free: 28.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.5871, allocations: 3.938 kB / 495.9 MB, free: 28.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.5871, allocations: 0 / 495.9 MB, free: 28.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.018e-05/0.5871, allocations: 0 / 495.9 MB, free: 28.82 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.007743/0.5948, allocations: 1.551 MB / 497.4 MB, free: 27.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.5949, allocations: 8.875 kB / 497.4 MB, free: 27.88 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002724/0.5952, allocations: 99.8 kB / 497.5 MB, free: 27.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003497/0.5987, allocations: 312 kB / 497.8 MB, free: 27.74 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/0.6002, allocations: 0.5286 MB / 498.4 MB, free: 27.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.813e-05/0.6003, allocations: 45.94 kB / 498.4 MB, free: 27.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.6005, allocations: 58.88 kB / 498.5 MB, free: 27.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003956/0.6044, allocations: 0.9885 MB / 499.5 MB, free: 26.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.918e-05/0.6045, allocations: 1.312 kB / 499.5 MB, free: 26.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/0.6047, allocations: 27.25 kB / 499.5 MB, free: 26.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-05/0.6047, allocations: 21.31 kB / 499.5 MB, free: 26.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004418/0.6092, allocations: 0.9164 MB / 0.4887 GB, free: 26.68 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.006687/0.6159, allocations: 4.497 MB / 0.4931 GB, free: 22.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003952/0.6199, allocations: 0.7974 MB / 0.4939 GB, free: 22.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3131/0.9331, allocations: 83.93 MB / 0.5758 GB, free: 15.23 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.021e-05/0.9332, allocations: 46.94 kB / 0.5759 GB, free: 15.18 MB / 458.7 MB Notification: Performance of pre-optimization done (n=48): time 2.575e-06/0.9332, allocations: 0 / 0.5759 GB, free: 15.18 MB / 458.7 MB Notification: Performance of matching and sorting (n=52): time 0.01079/0.944, allocations: 2.289 MB / 0.5781 GB, free: 12.83 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/0.9441, allocations: 107.2 kB / 0.5782 GB, free: 12.7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009416/0.945, allocations: 494.7 kB / 0.5787 GB, free: 12.21 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.475e-05/0.9451, allocations: 33.7 kB / 0.5787 GB, free: 12.17 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003059/0.9454, allocations: 334.9 kB / 0.579 GB, free: 11.84 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002404/0.9457, allocations: 184.7 kB / 0.5792 GB, free: 11.66 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.827e-05/0.9458, allocations: 15.94 kB / 0.5792 GB, free: 11.65 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.946, allocations: 370.8 kB / 0.5796 GB, free: 11.28 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/0.9471, allocations: 277.1 kB / 0.5798 GB, free: 11.01 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.9485, allocations: 474 kB / 0.5803 GB, free: 10.46 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.9498, allocations: 330 kB / 0.5806 GB, free: 10.14 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.85e-06/0.9498, allocations: 0 / 0.5806 GB, free: 10.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004311/0.9542, allocations: 1.021 MB / 0.5816 GB, free: 9.113 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008297/0.955, allocations: 2.175 MB / 0.5837 GB, free: 6.766 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.9551, allocations: 8 kB / 0.5837 GB, free: 6.758 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003784/0.9589, allocations: 437 kB / 0.5842 GB, free: 6.328 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.96, allocations: 139.8 kB / 0.5843 GB, free: 6.191 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/0.9622, allocations: 0.9201 MB / 0.5852 GB, free: 5.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.9635, allocations: 95.81 kB / 0.5853 GB, free: 5.156 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.9636, allocations: 39.94 kB / 0.5853 GB, free: 5.117 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.9637, allocations: 10.75 kB / 0.5853 GB, free: 5.109 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004426/0.9681, allocations: 0.9661 MB / 0.5863 GB, free: 4.141 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.9681, allocations: 6.344 kB / 0.5863 GB, free: 4.137 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00266/0.9708, allocations: 354.5 kB / 0.5866 GB, free: 3.789 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009842/0.9718, allocations: 143.8 kB / 0.5868 GB, free: 3.648 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/0.9738, allocations: 0.8919 MB / 0.5876 GB, free: 2.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.975, allocations: 89.66 kB / 0.5877 GB, free: 2.645 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.782e-05/0.9751, allocations: 31.98 kB / 0.5877 GB, free: 2.613 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 (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.000561/0.9757, allocations: 287.3 kB / 0.588 GB, free: 2.324 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.9758, allocations: 63.2 kB / 0.5881 GB, free: 2.262 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006172/0.982, allocations: 2.936 MB / 0.5909 GB, free: 15.33 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.23e-05/0.9821, allocations: 39.94 kB / 0.591 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.9821, allocations: 0 / 0.591 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/0.9822, allocations: 3.984 kB / 0.591 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008107/0.9903, allocations: 4.076 MB / 0.595 GB, free: 11.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.9903, allocations: 3.25 kB / 0.595 GB, free: 11.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/0.9917, allocations: 167.8 kB / 0.5951 GB, free: 11.01 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005824/0.9923, allocations: 84.69 kB / 0.5952 GB, free: 10.93 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.198e-05/0.9924, allocations: 16 kB / 0.5952 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001122/0.9935, allocations: 1.177 MB / 0.5964 GB, free: 9.684 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.9936, allocations: 4.094 kB / 0.5964 GB, free: 9.68 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005933/0.9995, allocations: 2.593 MB / 0.5989 GB, free: 7.059 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007356/1, allocations: 322.8 kB / 0.5992 GB, free: 6.723 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/1, allocations: 16 kB / 0.5992 GB, free: 6.707 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009306/1.001, allocations: 71.91 kB / 0.5993 GB, free: 6.637 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/1.002, allocations: 48.48 kB / 0.5993 GB, free: 6.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.383e-05/1.002, allocations: 23.98 kB / 0.5994 GB, free: 6.566 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007765/1.002, allocations: 403 kB / 0.5998 GB, free: 6.176 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.003, allocations: 8 kB / 0.5998 GB, free: 6.168 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007274/1.01, allocations: 1.339 MB / 0.6011 GB, free: 4.828 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,$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 () * Number of clocked 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.01747/1.027, allocations: 4.434 MB / 0.6054 GB, free: 492 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005638/1.033, allocations: 1.534 MB / 0.6069 GB, free: 14.95 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.033, allocations: 0 / 0.6069 GB, free: 14.95 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002164/1.035, allocations: 0.8718 MB / 0.6078 GB, free: 14.08 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002648/1.038, allocations: 302.1 kB / 0.608 GB, free: 13.79 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/1.051, allocations: 7.795 MB / 0.6157 GB, free: 5.898 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008911/1.052, allocations: 1.166 MB / 0.6168 GB, free: 4.703 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002088/1.054, allocations: 0.7184 MB / 0.6175 GB, free: 3.988 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008275/1.055, allocations: 459.2 kB / 0.6179 GB, free: 3.539 MB / 490.7 MB Notification: Performance of SimCode: time 1.011e-06/1.055, allocations: 0 / 0.6179 GB, free: 3.539 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.448/1.503, allocations: 59.45 MB / 0.676 GB, free: 140.9 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002599/1.503, allocations: 283.7 kB / 0.6763 GB, free: 140.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.517/8.02, allocations: 0 / 0.6763 GB, free: 140.5 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat does not exist to compare? outputFormat=mat