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: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01547/0.01547, allocations: 108.1 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.001876/0.001876, allocations: 180.2 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.971/1.971, allocations: 194.5 MB / 211.3 MB, free: 11.07 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.375/2.375, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005027/0.0005028, allocations: 12 kB / 0.5869 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5361/0.5366, allocations: 98.72 MB / 0.6833 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.2331/0.7697, allocations: 135.7 MB / 0.8159 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003873/0.7736, allocations: 1.694 MB / 0.8175 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003952/0.7741, allocations: 7.938 kB / 0.8175 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007336/0.7748, allocations: 187.1 kB / 0.8177 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.7767, allocations: 0.5102 MB / 0.8182 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.7785, allocations: 439 kB / 0.8186 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002579/0.7811, allocations: 1.513 MB / 0.8201 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.7824, allocations: 0.6959 MB / 0.8208 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001443/0.7839, allocations: 0.7045 MB / 0.8215 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007889/0.7847, allocations: 0.4901 MB / 0.822 GB, free: 132 kB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.7848, allocations: 36 kB / 0.822 GB, free: 96 kB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.786, allocations: 415.3 kB / 0.8224 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003414/0.7864, allocations: 255.1 kB / 0.8226 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.000329/0.7868, allocations: 229.1 kB / 0.8228 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.7882, allocations: 0.9678 MB / 0.8238 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.824e-06/0.7882, allocations: 0 / 0.8238 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.167e-06/0.7882, allocations: 0 / 0.8238 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.859e-05/0.7882, allocations: 0 / 0.8238 GB, free: 14.24 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.002632/0.7909, allocations: 1.299 MB / 0.8251 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.7909, allocations: 8.031 kB / 0.8251 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.792, allocations: 190.5 kB / 0.8252 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/0.7941, allocations: 0.8079 MB / 0.826 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.074e-05/0.7941, allocations: 41 kB / 0.8261 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.7943, allocations: 56 kB / 0.8261 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.796, allocations: 0.7839 MB / 0.8269 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.7961, allocations: 3.938 kB / 0.8269 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-05/0.7961, allocations: 28 kB / 0.8269 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.357e-05/0.7962, allocations: 12 kB / 0.8269 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.7975, allocations: 0.5384 MB / 0.8275 GB, free: 10.29 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.006016/0.8036, allocations: 4.442 MB / 0.8318 GB, free: 5.469 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.8047, allocations: 454.3 kB / 0.8322 GB, free: 5.016 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.671e-05/0.8048, allocations: 16.48 kB / 0.8322 GB, free: 5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006918/0.8055, allocations: 305.7 kB / 0.8325 GB, free: 4.68 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=31): time 3.349e-06/0.8055, allocations: 0 / 0.8325 GB, free: 4.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31): time 0.00194/0.8074, allocations: 0.6483 MB / 0.8332 GB, free: 4.023 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.507e-05/0.8076, allocations: 110.8 kB / 0.8333 GB, free: 3.891 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/0.8096, allocations: 1.106 MB / 0.8344 GB, free: 2.766 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.8097, allocations: 41.7 kB / 0.8344 GB, free: 2.719 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006135/0.8103, allocations: 0.4998 MB / 0.8349 GB, free: 2.215 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.8105, allocations: 110.5 kB / 0.835 GB, free: 2.105 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.8105, allocations: 12 kB / 0.835 GB, free: 2.094 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.8107, allocations: 322 kB / 0.8353 GB, free: 1.773 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005104/0.8112, allocations: 188.7 kB / 0.8355 GB, free: 1.586 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000823/0.8121, allocations: 0.5057 MB / 0.836 GB, free: 0.9492 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006486/0.8127, allocations: 282.3 kB / 0.8363 GB, free: 0.668 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.866e-06/0.8128, allocations: 0 / 0.8363 GB, free: 0.668 MB / 0.6511 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001775/0.8145, allocations: 0.6831 MB / 0.8369 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001204/0.8158, allocations: 2.137 MB / 0.839 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.8158, allocations: 15.98 kB / 0.839 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.8158, allocations: 8 kB / 0.839 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006256/0.8165, allocations: 115.8 kB / 0.8391 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.152e-05/0.8165, allocations: 8 kB / 0.8391 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.8177, allocations: 111.2 kB / 0.8393 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-05/0.8178, allocations: 28.45 kB / 0.8393 GB, free: 13.39 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.8178, allocations: 8 kB / 0.8393 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001346/0.8192, allocations: 0.5446 MB / 0.8398 GB, free: 12.83 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.8192, allocations: 4 kB / 0.8398 GB, free: 12.83 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.8192, allocations: 8 kB / 0.8398 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005085/0.8197, allocations: 108.5 kB / 0.8399 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.126e-05/0.8198, allocations: 23.86 kB / 0.84 GB, free: 12.69 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.8208, allocations: 99.42 kB / 0.8401 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.95e-05/0.8209, allocations: 24 kB / 0.8401 GB, free: 12.57 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.0007647/0.8217, allocations: 468.7 kB / 0.8405 GB, free: 12.1 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/0.8219, allocations: 98.78 kB / 0.8406 GB, free: 12 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.8231, allocations: 480.5 kB / 0.8411 GB, free: 11.53 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.8231, allocations: 4 kB / 0.8411 GB, free: 11.53 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.987e-06/0.8231, allocations: 3.953 kB / 0.8411 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.8232, allocations: 7.984 kB / 0.8411 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/0.8256, allocations: 1.095 MB / 0.8422 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.983e-06/0.8256, allocations: 4 kB / 0.8422 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003811/0.826, allocations: 68.11 kB / 0.8422 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/0.826, allocations: 8 kB / 0.8422 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/0.8261, allocations: 8 kB / 0.8422 GB, free: 10.26 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.053e-06/0.8261, allocations: 4 kB / 0.8422 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.274e-06/0.8261, allocations: 0 / 0.8422 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.8275, allocations: 0.6324 MB / 0.8429 GB, free: 9.543 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004604/0.8279, allocations: 215.8 kB / 0.8431 GB, free: 9.312 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.8281, allocations: 8 kB / 0.8431 GB, free: 9.305 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006479/0.8288, allocations: 51.86 kB / 0.8431 GB, free: 9.254 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.8289, allocations: 35.89 kB / 0.8432 GB, free: 9.219 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/0.8289, allocations: 16 kB / 0.8432 GB, free: 9.203 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001418/0.8304, allocations: 0.7836 MB / 0.8439 GB, free: 8.41 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.321e-06/0.8304, allocations: 4 kB / 0.8439 GB, free: 8.406 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001474/0.8319, allocations: 407.4 kB / 0.8443 GB, free: 8.008 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.0004749/0.8324, allocations: 178.6 kB / 0.8445 GB, free: 7.828 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00191/0.8343, allocations: 0.7971 MB / 0.8453 GB, free: 7.008 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.417e-06/0.8343, allocations: 0 / 0.8453 GB, free: 7.008 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005435/0.8349, allocations: 207.7 kB / 0.8455 GB, free: 6.805 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002515/0.8374, allocations: 456.2 kB / 0.8459 GB, free: 6.359 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003922/0.8414, allocations: 1.961 MB / 0.8478 GB, free: 4.348 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/0.8425, allocations: 1.197 MB / 0.849 GB, free: 3.121 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001668/0.8442, allocations: 415.7 kB / 0.8494 GB, free: 2.711 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.8444, allocations: 75.42 kB / 0.8495 GB, free: 2.637 MB / 0.6667 GB Notification: Performance of SimCode: time 1.551e-06/0.8445, allocations: 0 / 0.8495 GB, free: 2.637 MB / 0.6667 GB Notification: Performance of Templates: time 0.04072/0.8852, allocations: 16.09 MB / 0.8652 GB, free: 2.793 MB / 0.6824 GB