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.004133/0.004133, allocations: 234.6 kB / 15.8 MB, free: 6.285 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.001099/0.001099, allocations: 179.2 kB / 16.69 MB, free: 5.449 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.705/3.705, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.088/4.088, allocations: 472.3 MB / 0.9024 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004967/0.0004969, allocations: 14.81 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1644, allocations: 98.72 MB / 1.105 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.7218/0.8863, allocations: 146 MB / 1.247 GB, free: 1.559 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004092/0.8905, allocations: 1.727 MB / 1.249 GB, free: 364 kB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004186/0.8909, allocations: 10.31 kB / 1.249 GB, free: 360 kB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007461/0.8917, allocations: 159.6 kB / 1.249 GB, free: 276 kB / 0.6198 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.002197/0.8939, allocations: 0.5464 MB / 1.25 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.896, allocations: 437.2 kB / 1.25 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004522/0.9005, allocations: 3.019 MB / 1.253 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001622/0.9022, allocations: 0.6908 MB / 1.254 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002404/0.9046, allocations: 0.8019 MB / 1.254 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001811/0.9065, allocations: 0.711 MB / 1.255 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000213/0.9067, allocations: 38.34 kB / 1.255 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001651/0.9084, allocations: 385.7 kB / 1.256 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005165/0.909, allocations: 281.8 kB / 1.256 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005255/0.9095, allocations: 228.6 kB / 1.256 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002061/0.9116, allocations: 0.9713 MB / 1.257 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.9116, allocations: 3.938 kB / 1.257 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.655e-06/0.9116, allocations: 0 / 1.257 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.836e-05/0.9117, allocations: 0 / 1.257 GB, free: 13.24 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.00378/0.9155, allocations: 1.296 MB / 1.258 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/0.9156, allocations: 11.23 kB / 1.258 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.9169, allocations: 186.5 kB / 1.258 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00273/0.9197, allocations: 0.809 MB / 1.259 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/0.9198, allocations: 46.84 kB / 1.259 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/0.9199, allocations: 58.41 kB / 1.259 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/0.922, allocations: 0.7856 MB / 1.26 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.9221, allocations: 3.938 kB / 1.26 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.267e-05/0.9221, allocations: 22.03 kB / 1.26 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.9222, allocations: 13.5 kB / 1.26 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.924, allocations: 0.5457 MB / 1.261 GB, free: 11.23 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.00736/0.9314, allocations: 4.442 MB / 1.265 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.9328, allocations: 445.2 kB / 1.265 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007037/0.9335, allocations: 251.9 kB / 1.266 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004323/0.934, allocations: 199.4 kB / 1.266 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008585/0.9349, allocations: 296.5 kB / 1.266 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=31): time 3.507e-06/0.9349, allocations: 4 kB / 1.266 GB, free: 6.965 MB / 0.6355 GB Notification: Performance of matching and sorting (n=31): time 0.002519/0.9374, allocations: 0.6503 MB / 1.267 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/0.9375, allocations: 85.23 kB / 1.267 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002365/0.9399, allocations: 1.106 MB / 1.268 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001642/0.9401, allocations: 41.31 kB / 1.268 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006694/0.9408, allocations: 0.4941 MB / 1.268 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.941, allocations: 112.5 kB / 1.269 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-05/0.941, allocations: 12.69 kB / 1.269 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.9412, allocations: 319.5 kB / 1.269 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00063/0.9418, allocations: 191.5 kB / 1.269 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000933/0.9428, allocations: 0.5056 MB / 1.27 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007643/0.9436, allocations: 294.6 kB / 1.27 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.9436, allocations: 2.656 kB / 1.27 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002085/0.9457, allocations: 0.6819 MB / 1.27 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002336/0.946, allocations: 281.6 kB / 1.271 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.946, allocations: 5.188 kB / 1.271 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/0.946, allocations: 10.78 kB / 1.271 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008148/0.9468, allocations: 111.4 kB / 1.271 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.008e-05/0.9469, allocations: 8.594 kB / 1.271 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.9484, allocations: 112.4 kB / 1.271 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.9486, allocations: 24.5 kB / 1.271 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.9486, allocations: 2.969 kB / 1.271 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001551/0.9502, allocations: 0.5374 MB / 1.272 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.9502, allocations: 5.344 kB / 1.272 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.9502, allocations: 9.688 kB / 1.272 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007458/0.951, allocations: 114.5 kB / 1.272 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/0.951, allocations: 10.8 kB / 1.272 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.9525, allocations: 102.2 kB / 1.272 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.187e-05/0.9525, allocations: 22.47 kB / 1.272 GB, free: 3.777 MB / 0.6355 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.0009571/0.9535, allocations: 467.7 kB / 1.272 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002816/0.9538, allocations: 97.97 kB / 1.272 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.9554, allocations: 0.5055 MB / 1.273 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.9554, allocations: 0 / 1.273 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.9554, allocations: 0 / 1.273 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006328/0.956, allocations: 221 kB / 1.273 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002273/0.9563, allocations: 11.19 kB / 1.273 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008806/0.9572, allocations: 54.16 kB / 1.273 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.9573, allocations: 28.55 kB / 1.273 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001656/0.959, allocations: 0.5779 MB / 1.274 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001565/0.9606, allocations: 0.7132 MB / 1.274 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005484/0.9612, allocations: 182.6 kB / 1.275 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001868/0.9631, allocations: 0.7861 MB / 1.275 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of Backend: time 1.152e-06/0.9631, allocations: 0 / 1.275 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003428/0.9665, allocations: 0.8497 MB / 1.276 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of SimCode: time 0.007536/0.9741, allocations: 2.691 MB / 1.279 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of Templates: time 0.05135/1.026, allocations: 17.34 MB / 1.296 GB, free: 4.293 MB / 0.6511 GB