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.TestWaterPumpCharacteristics.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.TestWaterPumpCharacteristics,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpCharacteristics",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.01092/0.01092, allocations: 106.3 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.001197/0.001197, allocations: 185.6 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.927/1.927, allocations: 194.6 MB / 211.3 MB, free: 11.28 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.2683/0.2683, allocations: 40.04 MB / 296.5 MB, free: 6.5 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004899/0.00049, allocations: 12 kB / 361.1 MB, free: 9.562 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1148, allocations: 54.89 MB / 416 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics): time 0.4/0.5149, allocations: 61.6 MB / 477.6 MB, free: 31.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03298/0.5479, allocations: 20.25 MB / 497.9 MB, free: 17.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002367/0.5504, allocations: 55.16 kB / 497.9 MB, free: 17.22 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003689/0.5541, allocations: 0.7982 MB / 498.7 MB, free: 16.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02082/0.575, allocations: 5.23 MB / 0.4922 GB, free: 13.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01278/0.5878, allocations: 3.142 MB / 0.4952 GB, free: 12.29 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005277/0.5931, allocations: 2.194 MB / 0.4974 GB, free: 11.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001983/0.5951, allocations: 0.7838 MB / 0.4981 GB, free: 10.88 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004271/0.5994, allocations: 1.229 MB / 0.4993 GB, free: 10.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03788/0.6374, allocations: 13.1 MB / 0.5121 GB, free: 8.812 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005311/0.638, allocations: 72.41 kB / 0.5122 GB, free: 8.812 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02262/0.6606, allocations: 8.233 MB / 0.5202 GB, free: 2.992 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000822/0.6615, allocations: 326.9 kB / 0.5205 GB, free: 2.672 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008553/0.6623, allocations: 344.9 kB / 0.5209 GB, free: 2.328 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01218/0.6745, allocations: 4.643 MB / 0.5254 GB, free: 13.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.6746, allocations: 0 / 0.5254 GB, free: 13.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.6746, allocations: 4 kB / 0.5254 GB, free: 13.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.45e-05/0.6747, allocations: 0 / 0.5254 GB, free: 13.68 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.009974/0.6847, allocations: 2.268 MB / 0.5276 GB, free: 11.35 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.6848, allocations: 8.031 kB / 0.5276 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000603/0.6854, allocations: 190.1 kB / 0.5278 GB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004786/0.6902, allocations: 473.6 kB / 0.5283 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/0.6929, allocations: 0.8962 MB / 0.5291 GB, free: 9.742 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000186/0.6931, allocations: 107.1 kB / 0.5292 GB, free: 9.637 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003024/0.6934, allocations: 124 kB / 0.5294 GB, free: 9.516 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007789/0.7012, allocations: 1.968 MB / 0.5313 GB, free: 7.418 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.144e-05/0.7013, allocations: 7.938 kB / 0.5313 GB, free: 7.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002462/0.7016, allocations: 60 kB / 0.5313 GB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001128/0.7017, allocations: 58.22 kB / 0.5314 GB, free: 7.293 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008406/0.7101, allocations: 1.765 MB / 0.5331 GB, free: 5.52 MB / 394.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.01686/0.727, allocations: 9.445 MB / 0.5423 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006081/0.7332, allocations: 1.182 MB / 0.5435 GB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01483/0.748, allocations: 5.493 MB / 0.5489 GB, free: 3.828 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.028e-05/0.7481, allocations: 55.45 kB / 0.5489 GB, free: 3.766 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 3.837e-06/0.7482, allocations: 0 / 0.5489 GB, free: 3.766 MB / 410.7 MB Notification: Performance of matching and sorting (n=134): time 0.06531/0.8135, allocations: 8.501 MB / 0.5572 GB, free: 10.97 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.8136, allocations: 116.1 kB / 0.5573 GB, free: 10.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/0.8153, allocations: 0.7998 MB / 0.5581 GB, free: 10.01 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003059/0.8157, allocations: 53.64 kB / 0.5582 GB, free: 9.953 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006907/0.8164, allocations: 0.6585 MB / 0.5588 GB, free: 9.285 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006558/0.8171, allocations: 449.5 kB / 0.5592 GB, free: 8.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.8173, allocations: 32 kB / 0.5593 GB, free: 8.809 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.8174, allocations: 361.9 kB / 0.5596 GB, free: 8.449 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003066/0.8205, allocations: 0.6832 MB / 0.5603 GB, free: 7.766 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003491/0.8241, allocations: 1.116 MB / 0.5614 GB, free: 6.469 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003344/0.8275, allocations: 0.7871 MB / 0.5621 GB, free: 5.684 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.598e-05/0.8275, allocations: 4 kB / 0.5621 GB, free: 5.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.0138/0.8413, allocations: 2.731 MB / 0.5648 GB, free: 2.914 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002243/0.8436, allocations: 5.058 MB / 0.5697 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.213e-05/0.8437, allocations: 12 kB / 0.5698 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01612/0.8599, allocations: 1.686 MB / 0.5714 GB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/0.8616, allocations: 253.1 kB / 0.5716 GB, free: 11.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01271/0.8743, allocations: 5.83 MB / 0.5773 GB, free: 5.453 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003009/0.8774, allocations: 183.8 kB / 0.5775 GB, free: 5.273 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003042/0.8777, allocations: 87.97 kB / 0.5776 GB, free: 5.188 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.8778, allocations: 4.375 kB / 0.5776 GB, free: 5.184 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01167/0.8894, allocations: 2.446 MB / 0.58 GB, free: 2.711 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.704e-05/0.8895, allocations: 12 kB / 0.58 GB, free: 2.699 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01362/0.9031, allocations: 1.454 MB / 0.5814 GB, free: 1.223 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00181/0.905, allocations: 275.5 kB / 0.5817 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/0.9162, allocations: 5.64 MB / 0.5872 GB, free: 11.11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002856/0.9191, allocations: 182.5 kB / 0.5874 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002867/0.9194, allocations: 75.97 kB / 0.5874 GB, free: 10.86 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 10 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase,pumpLinear.monitoring.state_in.phase,pumpQuadraticLinear.monitoring.state_in.phase,pumpPolynomial.monitoring.state_in.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 (131): * Single equations (assignments): 123 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {2 6,2 8,2 6,2 8,2 6,2 8,2 6,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.001229/0.9206, allocations: 440.6 kB / 0.5879 GB, free: 10.42 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004033/0.9211, allocations: 130.5 kB / 0.588 GB, free: 10.29 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01951/0.9406, allocations: 5.558 MB / 0.5934 GB, free: 4.656 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.302e-05/0.9407, allocations: 47.94 kB / 0.5935 GB, free: 4.609 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.9407, allocations: 0 / 0.5935 GB, free: 4.609 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-05/0.9408, allocations: 7.969 kB / 0.5935 GB, free: 4.602 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02181/0.9626, allocations: 7.936 MB / 0.6012 GB, free: 12.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.609e-05/0.9627, allocations: 0 / 0.6012 GB, free: 12.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.9637, allocations: 155.9 kB / 0.6014 GB, free: 12.31 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01461/0.9784, allocations: 2.29 MB / 0.6036 GB, free: 9.992 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003231/0.9787, allocations: 31.94 kB / 0.6036 GB, free: 9.961 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0136/0.9924, allocations: 6.825 MB / 0.6103 GB, free: 2.926 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.9924, allocations: 4.031 kB / 0.6103 GB, free: 2.922 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01836/1.011, allocations: 3.947 MB / 0.6142 GB, free: 14.87 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001292/1.012, allocations: 438.2 kB / 0.6146 GB, free: 14.42 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003368/1.012, allocations: 23.98 kB / 0.6146 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002651/1.015, allocations: 207.6 kB / 0.6148 GB, free: 14.19 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004987/1.016, allocations: 133.1 kB / 0.6149 GB, free: 14.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001943/1.016, allocations: 51.97 kB / 0.615 GB, free: 14.01 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001295/1.017, allocations: 0.6093 MB / 0.6156 GB, free: 13.39 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.81e-07/1.017, allocations: 0 / 0.6156 GB, free: 13.39 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007445/1.025, allocations: 1.882 MB / 0.6174 GB, free: 11.51 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,pumpPolynomial.heatTransfer.states[1].phase,pumpQuadraticLinear.heatTransfer.states[1].phase,pumpLinear.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 62 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {2 6,2 10,2 6,2 6,2 6,2 10,2 10,2 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.02044/1.045, allocations: 5.784 MB / 0.6231 GB, free: 5.617 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01742/1.063, allocations: 3.551 MB / 0.6265 GB, free: 2.062 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/1.063, allocations: 0 / 0.6265 GB, free: 2.062 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007282/1.07, allocations: 1.662 MB / 0.6281 GB, free: 412 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3039/1.374, allocations: 0.5287 MB / 0.6287 GB, free: 159.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03906/1.413, allocations: 19.9 MB / 0.6481 GB, free: 147.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/1.414, allocations: 1.454 MB / 0.6495 GB, free: 146.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002929/1.417, allocations: 0.9137 MB / 0.6504 GB, free: 146.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001264/1.418, allocations: 0.6669 MB / 0.6511 GB, free: 146.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.603e-06/1.418, allocations: 0 / 0.6511 GB, free: 146.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2039/1.622, allocations: 90.04 MB / 0.739 GB, free: 84.51 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002842/1.623, allocations: 295 kB / 0.7393 GB, free: 84.14 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.971/9.594, allocations: 0 / 0.7393 GB, free: 84.14 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCharacteristics_res.mat does not exist to compare? outputFormat=mat