Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",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.01538/0.01538, allocations: 111.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.001812/0.001812, allocations: 183 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.335/2.335, allocations: 194.6 MB / 211.3 MB, free: 11.01 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.491/2.491, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007385/0.0007386, allocations: 16 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7328/0.7336, allocations: 98.71 MB / 0.6834 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.23/0.9637, allocations: 135.7 MB / 0.816 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004591/0.9683, allocations: 1.696 MB / 0.8176 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004155/0.9688, allocations: 11.94 kB / 0.8176 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008684/0.9697, allocations: 179.2 kB / 0.8178 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00217/0.9719, allocations: 0.5062 MB / 0.8183 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002089/0.974, allocations: 443 kB / 0.8187 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003104/0.9771, allocations: 1.513 MB / 0.8202 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.9786, allocations: 0.6998 MB / 0.8209 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001869/0.9805, allocations: 0.7007 MB / 0.8216 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009518/0.9815, allocations: 0.4901 MB / 0.822 GB, free: 128 kB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001309/0.9816, allocations: 32 kB / 0.8221 GB, free: 96 kB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.9831, allocations: 411.4 kB / 0.8225 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004073/0.9835, allocations: 255.1 kB / 0.8227 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0004652/0.984, allocations: 233.1 kB / 0.8229 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001723/0.9858, allocations: 0.968 MB / 0.8239 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.9858, allocations: 0 / 0.8239 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9858, allocations: 0 / 0.8239 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.9858, allocations: 4 kB / 0.8239 GB, free: 14.23 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003269/0.9891, allocations: 1.295 MB / 0.8251 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.9892, allocations: 11.97 kB / 0.8252 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001601/0.9893, allocations: 90.52 kB / 0.8252 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.9904, allocations: 182.5 kB / 0.8254 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002394/0.9928, allocations: 0.8157 MB / 0.8262 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-05/0.9929, allocations: 49 kB / 0.8263 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.9931, allocations: 56 kB / 0.8263 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/0.995, allocations: 0.7813 MB / 0.8271 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/0.9951, allocations: 3.938 kB / 0.8271 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.811e-05/0.9952, allocations: 24 kB / 0.8271 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.9952, allocations: 12 kB / 0.8271 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.9969, allocations: 0.5462 MB / 0.8276 GB, free: 10.18 MB / 0.6511 GB 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.006844/1.004, allocations: 4.442 MB / 0.832 GB, free: 5.359 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/1.005, allocations: 453.9 kB / 0.8324 GB, free: 4.91 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.828e-05/1.005, allocations: 16.48 kB / 0.8324 GB, free: 4.895 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008232/1.006, allocations: 301.7 kB / 0.8327 GB, free: 4.578 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=31): time 3.106e-06/1.006, allocations: 0 / 0.8327 GB, free: 4.578 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31): time 0.002391/1.008, allocations: 0.6551 MB / 0.8334 GB, free: 3.918 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.488e-05/1.009, allocations: 114.8 kB / 0.8335 GB, free: 3.781 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002303/1.011, allocations: 1.11 MB / 0.8346 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.569e-05/1.011, allocations: 37.7 kB / 0.8346 GB, free: 2.609 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006546/1.012, allocations: 0.4921 MB / 0.8351 GB, free: 2.113 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000159/1.012, allocations: 114.5 kB / 0.8352 GB, free: 2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/1.012, allocations: 11.94 kB / 0.8352 GB, free: 1.988 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001547/1.012, allocations: 322 kB / 0.8355 GB, free: 1.668 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006216/1.013, allocations: 188.7 kB / 0.8357 GB, free: 1.48 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009865/1.014, allocations: 0.5018 MB / 0.8362 GB, free: 0.8477 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008214/1.015, allocations: 290.3 kB / 0.8364 GB, free: 0.5586 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.015, allocations: 0 / 0.8364 GB, free: 0.5586 MB / 0.6511 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002068/1.017, allocations: 0.6844 MB / 0.8371 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001088/1.018, allocations: 2.141 MB / 0.8392 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/1.018, allocations: 7.938 kB / 0.8392 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.157e-05/1.018, allocations: 12 kB / 0.8392 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008987/1.019, allocations: 111.8 kB / 0.8393 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/1.019, allocations: 8 kB / 0.8393 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/1.02, allocations: 115.3 kB / 0.8394 GB, free: 13.31 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.965e-05/1.02, allocations: 24 kB / 0.8395 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/1.02, allocations: 4 kB / 0.8395 GB, free: 13.28 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001595/1.022, allocations: 0.536 MB / 0.84 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/1.022, allocations: 8 kB / 0.84 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/1.022, allocations: 8 kB / 0.84 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007359/1.023, allocations: 112.4 kB / 0.8401 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.172e-05/1.023, allocations: 19.88 kB / 0.8401 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/1.024, allocations: 95.47 kB / 0.8402 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.437e-05/1.024, allocations: 27.98 kB / 0.8403 GB, free: 12.47 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008126/1.025, allocations: 460.7 kB / 0.8407 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/1.025, allocations: 98.78 kB / 0.8408 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/1.027, allocations: 487 kB / 0.8413 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/1.027, allocations: 4 kB / 0.8413 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/1.027, allocations: 3.953 kB / 0.8413 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/1.027, allocations: 0 / 0.8413 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002459/1.029, allocations: 1.099 MB / 0.8423 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.029, allocations: 224 / 0.8423 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005094/1.03, allocations: 75.89 kB / 0.8424 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/1.03, allocations: 3.984 kB / 0.8424 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.603e-05/1.03, allocations: 8 kB / 0.8424 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/1.03, allocations: 0 / 0.8424 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/1.03, allocations: 4 kB / 0.8424 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/1.031, allocations: 0.6348 MB / 0.843 GB, free: 9.449 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005388/1.032, allocations: 215.8 kB / 0.8432 GB, free: 9.219 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/1.032, allocations: 8 kB / 0.8433 GB, free: 9.211 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008707/1.033, allocations: 55.86 kB / 0.8433 GB, free: 9.156 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/1.033, allocations: 39.89 kB / 0.8433 GB, free: 9.117 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.893e-05/1.033, allocations: 19.89 kB / 0.8434 GB, free: 9.098 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001728/1.035, allocations: 0.7797 MB / 0.8441 GB, free: 8.309 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.71e-07/1.035, allocations: 0 / 0.8441 GB, free: 8.309 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001768/1.037, allocations: 415.4 kB / 0.8445 GB, free: 7.902 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002474/1.039, allocations: 1.718 MB / 0.8462 GB, free: 6.113 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002289/1.042, allocations: 0.8011 MB / 0.847 GB, free: 5.289 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.042, allocations: 0 / 0.847 GB, free: 5.289 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007003/1.042, allocations: 212 kB / 0.8472 GB, free: 5.082 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003558/1.046, allocations: 460.3 kB / 0.8476 GB, free: 4.629 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02035/1.066, allocations: 9.656 MB / 0.8571 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/1.067, allocations: 1.2 MB / 0.8582 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002027/1.069, allocations: 411.6 kB / 0.8586 GB, free: 9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007401/1.07, allocations: 335.3 kB / 0.8589 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of SimCode: time 8.92e-07/1.07, allocations: 4 kB / 0.8589 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09543/1.166, allocations: 25.89 MB / 0.8842 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004063/1.166, allocations: 247.6 kB / 0.8845 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.513/4.679, allocations: 0 / 0.8845 GB, free: 14.82 MB / 0.7136 GB