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.01062/0.01063, allocations: 221.9 kB / 15.17 MB, free: 6 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.001064/0.001064, allocations: 180.9 kB / 16.06 MB, free: 5.871 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 3.295/3.295, allocations: 389.1 MB / 405.9 MB, free: 67.63 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.854/3.854, allocations: 472.3 MB / 0.9018 GB, free: 87.45 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007891/0.0007893, allocations: 16.53 kB / 1.008 GB, free: 37.43 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1507, allocations: 98.72 MB / 1.104 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.6629/0.8136, allocations: 146 MB / 1.247 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00318/0.8168, allocations: 1.727 MB / 1.248 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002427/0.8171, allocations: 10.31 kB / 1.248 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005613/0.8177, allocations: 157 kB / 1.248 GB, free: 3.648 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001543/0.8192, allocations: 0.5473 MB / 1.249 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001386/0.8206, allocations: 448.7 kB / 1.249 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003394/0.824, allocations: 3.008 MB / 1.252 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001145/0.8252, allocations: 0.6865 MB / 1.253 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/0.8268, allocations: 0.8049 MB / 1.254 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009952/0.8278, allocations: 0.7138 MB / 1.255 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.8279, allocations: 34.31 kB / 1.255 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.8291, allocations: 387.2 kB / 1.255 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.00035/0.8295, allocations: 280.2 kB / 1.255 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004249/0.8299, allocations: 234.1 kB / 1.255 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.8313, allocations: 0.9803 MB / 1.256 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.066e-06/0.8313, allocations: 1.156 kB / 1.256 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.376e-06/0.8314, allocations: 0 / 1.256 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.809e-05/0.8314, allocations: 4 kB / 1.256 GB, free: 2.887 MB / 0.6355 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.002467/0.8339, allocations: 1.286 MB / 1.258 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.8339, allocations: 8.344 kB / 1.258 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000954/0.8349, allocations: 188.5 kB / 1.258 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/0.8369, allocations: 0.81 MB / 1.259 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.108e-05/0.8369, allocations: 45.94 kB / 1.259 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.8371, allocations: 60.69 kB / 1.259 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.8387, allocations: 0.7765 MB / 1.259 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.8388, allocations: 11.92 kB / 1.259 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.738e-05/0.8388, allocations: 23.5 kB / 1.26 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.8389, allocations: 16.56 kB / 1.26 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.8402, allocations: 0.5445 MB / 1.26 GB, free: 1.43 MB / 0.6355 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.005655/0.8459, allocations: 4.441 MB / 1.264 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009601/0.8468, allocations: 450.5 kB / 1.265 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005085/0.8474, allocations: 258.5 kB / 1.265 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003636/0.8477, allocations: 193.5 kB / 1.265 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006102/0.8484, allocations: 302.5 kB / 1.266 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=31): time 3.413e-06/0.8484, allocations: 0 / 1.266 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31): time 0.001874/0.8503, allocations: 0.6529 MB / 1.266 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/0.8504, allocations: 84.73 kB / 1.266 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001885/0.8523, allocations: 1.105 MB / 1.267 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.977e-05/0.8524, allocations: 36.33 kB / 1.267 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004863/0.8529, allocations: 0.4974 MB / 1.268 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.853, allocations: 111.5 kB / 1.268 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.8531, allocations: 11.25 kB / 1.268 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.8532, allocations: 325.5 kB / 1.268 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004547/0.8537, allocations: 183.9 kB / 1.268 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006647/0.8544, allocations: 0.5019 MB / 1.269 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005736/0.855, allocations: 296 kB / 1.269 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.047e-06/0.855, allocations: 1.469 kB / 1.269 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001609/0.8566, allocations: 0.6821 MB / 1.27 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002334/0.8569, allocations: 285.5 kB / 1.27 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.8569, allocations: 5 kB / 1.27 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.8569, allocations: 12.56 kB / 1.27 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005748/0.8575, allocations: 117.1 kB / 1.27 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.906e-05/0.8576, allocations: 9.5 kB / 1.27 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.8586, allocations: 106 kB / 1.27 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.563e-05/0.8587, allocations: 26.2 kB / 1.27 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.682e-06/0.8588, allocations: 2.656 kB / 1.27 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001153/0.8599, allocations: 0.538 MB / 1.271 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.8599, allocations: 9.812 kB / 1.271 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.86, allocations: 8.844 kB / 1.271 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004817/0.8605, allocations: 107.3 kB / 1.271 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/0.8605, allocations: 20.16 kB / 1.271 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008758/0.8614, allocations: 97.3 kB / 1.271 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-05/0.8614, allocations: 22.81 kB / 1.271 GB, free: 11.8 MB / 0.6511 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.0007185/0.8622, allocations: 470.7 kB / 1.272 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.8624, allocations: 97.5 kB / 1.272 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.8635, allocations: 0.4998 MB / 1.272 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.998e-06/0.8635, allocations: 6.375 kB / 1.272 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.8636, allocations: 4.328 kB / 1.272 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.91e-06/0.8636, allocations: 2.484 kB / 1.272 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002598/0.8662, allocations: 1.391 MB / 1.274 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.837e-06/0.8662, allocations: 3.375 kB / 1.274 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/0.8666, allocations: 66.91 kB / 1.274 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.8666, allocations: 12.95 kB / 1.274 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.087e-05/0.8666, allocations: 8.844 kB / 1.274 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.649e-06/0.8666, allocations: 3.312 kB / 1.274 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/0.8667, allocations: 7.25 kB / 1.274 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.8677, allocations: 0.6029 MB / 1.274 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004726/0.8682, allocations: 222.9 kB / 1.275 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/0.8684, allocations: 9.188 kB / 1.275 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006702/0.869, allocations: 54.06 kB / 1.275 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.8692, allocations: 37.27 kB / 1.275 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/0.8692, allocations: 7.906 kB / 1.275 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001303/0.8705, allocations: 0.7847 MB / 1.275 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.25e-07/0.8705, allocations: 0 / 1.275 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001639/0.8722, allocations: 409.6 kB / 1.276 GB, free: 10.45 MB / 0.6511 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.0004752/0.8727, allocations: 170.9 kB / 1.276 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001675/0.8744, allocations: 0.7986 MB / 1.277 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.545e-06/0.8744, allocations: 1.375 kB / 1.277 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004616/0.8749, allocations: 210.6 kB / 1.277 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/0.8774, allocations: 460.9 kB / 1.277 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003447/0.8809, allocations: 1.966 MB / 1.279 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.8819, allocations: 1.202 MB / 1.28 GB, free: 8.277 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001519/0.8834, allocations: 417.8 kB / 1.281 GB, free: 8.094 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/0.8837, allocations: 73.11 kB / 1.281 GB, free: 8.082 MB / 0.6511 GB Notification: Performance of SimCode: time 1.441e-06/0.8837, allocations: 0 / 1.281 GB, free: 8.082 MB / 0.6511 GB Notification: Performance of Templates: time 0.03874/0.9224, allocations: 16.1 MB / 1.297 GB, free: 288 kB / 0.6511 GB