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.SeriesDpOptimised.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: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009299/0.009304, allocations: 106.9 kB / 15.06 MB, free: 5.562 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.001111/0.001111, allocations: 177.9 kB / 15.95 MB, free: 5.523 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.994/1.994, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.416/2.416, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004666/0.0004668, allocations: 12 kB / 0.5869 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6266/0.6271, allocations: 98.71 MB / 0.6833 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.2216/0.8487, allocations: 135.7 MB / 0.8159 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0108/0.8596, allocations: 3.123 MB / 0.8189 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000624/0.8603, allocations: 11.94 kB / 0.8189 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.8615, allocations: 191.1 kB / 0.8191 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003178/0.8647, allocations: 0.5024 MB / 0.8196 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003437/0.8682, allocations: 479 kB / 0.8201 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004576/0.8728, allocations: 1.525 MB / 0.8216 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002273/0.8751, allocations: 0.7076 MB / 0.8222 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002638/0.8778, allocations: 0.7085 MB / 0.8229 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/0.8792, allocations: 497.8 kB / 0.8234 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002086/0.8794, allocations: 32 kB / 0.8234 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002133/0.8816, allocations: 411.4 kB / 0.8238 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0006202/0.8823, allocations: 259.1 kB / 0.8241 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0006801/0.883, allocations: 233.1 kB / 0.8243 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003165/0.8862, allocations: 0.9756 MB / 0.8253 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.648e-06/0.8862, allocations: 0 / 0.8253 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.054e-06/0.8862, allocations: 0 / 0.8253 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.22e-05/0.8863, allocations: 3.938 kB / 0.8253 GB, free: 12.74 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002915/0.8892, allocations: 1.288 MB / 0.8265 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.8893, allocations: 15.97 kB / 0.8265 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.8903, allocations: 186.5 kB / 0.8267 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/0.8923, allocations: 0.8119 MB / 0.8275 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.068e-05/0.8924, allocations: 41 kB / 0.8275 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.8925, allocations: 60 kB / 0.8276 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/0.8942, allocations: 0.7761 MB / 0.8284 GB, free: 9.375 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/0.8942, allocations: 4 kB / 0.8284 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-05/0.8943, allocations: 27.92 kB / 0.8284 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.8943, allocations: 16 kB / 0.8284 GB, free: 9.328 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001312/0.8957, allocations: 0.5423 MB / 0.8289 GB, free: 8.785 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.006158/0.9018, allocations: 4.439 MB / 0.8333 GB, free: 3.969 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.903, allocations: 460.9 kB / 0.8337 GB, free: 3.512 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.767e-05/0.9031, allocations: 20.02 kB / 0.8337 GB, free: 3.492 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007134/0.9038, allocations: 317.6 kB / 0.834 GB, free: 3.16 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=31): time 3.526e-06/0.9038, allocations: 0 / 0.834 GB, free: 3.16 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31): time 0.005208/0.909, allocations: 1.321 MB / 0.8353 GB, free: 1.809 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.175e-05/0.9092, allocations: 114.7 kB / 0.8354 GB, free: 1.672 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002037/0.9112, allocations: 1.102 MB / 0.8365 GB, free: 0.5508 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.9114, allocations: 45.64 kB / 0.8365 GB, free: 0.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006518/0.912, allocations: 0.4928 MB / 0.837 GB, free: 0 / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002586/0.9123, allocations: 110.7 kB / 0.8371 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-05/0.9124, allocations: 12 kB / 0.8371 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.9126, allocations: 326 kB / 0.8375 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005047/0.9131, allocations: 184.7 kB / 0.8376 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008022/0.9139, allocations: 0.5057 MB / 0.8381 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000702/0.9146, allocations: 306.1 kB / 0.8384 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.598e-06/0.9146, allocations: 0 / 0.8384 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003058/0.9177, allocations: 0.9805 MB / 0.8394 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001198/0.9189, allocations: 2.129 MB / 0.8415 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.919, allocations: 4 kB / 0.8415 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001855/0.9208, allocations: 344.3 kB / 0.8418 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000319/0.9212, allocations: 63.91 kB / 0.8418 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.9227, allocations: 1.013 MB / 0.8428 GB, free: 9.695 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/0.924, allocations: 103.5 kB / 0.8429 GB, free: 9.594 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.973e-05/0.9241, allocations: 24 kB / 0.843 GB, free: 9.57 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.9241, allocations: 4 kB / 0.843 GB, free: 9.566 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002333/0.9265, allocations: 0.7397 MB / 0.8437 GB, free: 8.816 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.9265, allocations: 4 kB / 0.8437 GB, free: 8.812 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007714/0.9273, allocations: 218.9 kB / 0.8439 GB, free: 8.598 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.9276, allocations: 63.84 kB / 0.844 GB, free: 8.535 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005753/0.9334, allocations: 3.177 MB / 0.8471 GB, free: 5.203 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.9345, allocations: 103.5 kB / 0.8472 GB, free: 5.102 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.053e-05/0.9346, allocations: 20 kB / 0.8472 GB, free: 5.082 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 (34): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0007766/0.9353, allocations: 468.7 kB / 0.8476 GB, free: 4.613 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.9355, allocations: 102.8 kB / 0.8477 GB, free: 4.512 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00175/0.9373, allocations: 0.696 MB / 0.8484 GB, free: 3.805 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.9373, allocations: 4 kB / 0.8484 GB, free: 3.801 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.731e-06/0.9374, allocations: 12.12 kB / 0.8484 GB, free: 3.789 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.9374, allocations: 7.922 kB / 0.8484 GB, free: 3.781 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002196/0.9396, allocations: 1.092 MB / 0.8495 GB, free: 2.613 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.9396, allocations: 4 kB / 0.8495 GB, free: 2.609 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.9398, allocations: 27.92 kB / 0.8495 GB, free: 2.582 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006974/0.9405, allocations: 220.6 kB / 0.8497 GB, free: 2.363 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/0.9406, allocations: 11.98 kB / 0.8497 GB, free: 2.352 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.9419, allocations: 0.9924 MB / 0.8507 GB, free: 1.336 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.836e-06/0.9419, allocations: 0 / 0.8507 GB, free: 1.336 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.9438, allocations: 0.8478 MB / 0.8515 GB, free: 416 kB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004548/0.9443, allocations: 215.8 kB / 0.8517 GB, free: 180 kB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/0.9444, allocations: 11.98 kB / 0.8518 GB, free: 168 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006483/0.9451, allocations: 55.8 kB / 0.8518 GB, free: 112 kB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.9452, allocations: 31.91 kB / 0.8518 GB, free: 80 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/0.9452, allocations: 16 kB / 0.8519 GB, free: 64 kB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00144/0.9467, allocations: 0.7916 MB / 0.8526 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.28e-07/0.9467, allocations: 0 / 0.8526 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001724/0.9484, allocations: 447.4 kB / 0.8531 GB, free: 14.82 MB / 0.6823 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 (12): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004956/0.949, allocations: 171.7 kB / 0.8532 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002667/0.9517, allocations: 1.055 MB / 0.8543 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.797e-06/0.9517, allocations: 0.5 kB / 0.8543 GB, free: 13.56 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007292/0.9524, allocations: 238.6 kB / 0.8545 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/0.9551, allocations: 467.5 kB / 0.8549 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003946/0.9591, allocations: 1.981 MB / 0.8569 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/0.9603, allocations: 1.208 MB / 0.858 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001313/0.9616, allocations: 291.9 kB / 0.8583 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.9618, allocations: 63.42 kB / 0.8584 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of SimCode: time 1.564e-06/0.9618, allocations: 4 kB / 0.8584 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of Templates: time 0.04615/1.008, allocations: 18.46 MB / 0.8764 GB, free: 7.043 MB / 0.698 GB