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.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01428/0.01428, allocations: 107.3 kB / 15.06 MB, free: 5.609 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.001712/0.001712, allocations: 184.3 kB / 15.95 MB, free: 5.543 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.97/1.97, allocations: 194.5 MB / 211.3 MB, free: 11.05 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.37/2.37, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004668/0.000467, allocations: 16 kB / 0.5869 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5773/0.5778, allocations: 98.71 MB / 0.6833 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.2512/0.829, allocations: 140.5 MB / 0.8205 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.007608/0.8367, allocations: 2.179 MB / 0.8226 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006879/0.8374, allocations: 7.938 kB / 0.8226 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.8389, allocations: 242.9 kB / 0.8229 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004246/0.8432, allocations: 0.6933 MB / 0.8236 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003507/0.8467, allocations: 479 kB / 0.824 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.005099/0.8518, allocations: 1.67 MB / 0.8256 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00715/0.859, allocations: 2.305 MB / 0.8279 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003558/0.8626, allocations: 0.8605 MB / 0.8287 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002023/0.8647, allocations: 0.607 MB / 0.8293 GB, free: 8.566 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0003073/0.8651, allocations: 48 kB / 0.8294 GB, free: 8.52 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003233/0.8683, allocations: 0.624 MB / 0.83 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0008835/0.8693, allocations: 303.1 kB / 0.8303 GB, free: 7.598 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0007556/0.8701, allocations: 245.1 kB / 0.8305 GB, free: 7.352 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003282/0.8734, allocations: 1.174 MB / 0.8316 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.233e-06/0.8734, allocations: 0 / 0.8316 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.392e-06/0.8734, allocations: 4 kB / 0.8317 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.445e-05/0.8735, allocations: 0 / 0.8317 GB, free: 6.176 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.006076/0.8796, allocations: 1.514 MB / 0.8331 GB, free: 4.602 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/0.8797, allocations: 12.03 kB / 0.8331 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002058/0.8817, allocations: 198.4 kB / 0.8333 GB, free: 4.395 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004213/0.886, allocations: 0.8911 MB / 0.8342 GB, free: 3.449 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.8861, allocations: 53.27 kB / 0.8343 GB, free: 3.395 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002879/0.8864, allocations: 60 kB / 0.8343 GB, free: 3.336 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003703/0.8902, allocations: 0.983 MB / 0.8353 GB, free: 2.281 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.922e-05/0.8903, allocations: 3.938 kB / 0.8353 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/0.8904, allocations: 28 kB / 0.8353 GB, free: 2.25 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.8905, allocations: 12 kB / 0.8353 GB, free: 2.238 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003567/0.8941, allocations: 0.8155 MB / 0.8361 GB, free: 1.426 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.01446/0.9086, allocations: 4.722 MB / 0.8407 GB, free: 12.37 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005593/0.9142, allocations: 4.054 MB / 0.8447 GB, free: 7.492 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 9.727e-05/0.9143, allocations: 16.25 kB / 0.8447 GB, free: 7.477 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008239/0.9152, allocations: 329.9 kB / 0.845 GB, free: 7.133 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000393/0.9156, allocations: 31.69 kB / 0.845 GB, free: 7.102 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=35): time 6.832e-06/0.9156, allocations: 3.984 kB / 0.845 GB, free: 7.098 MB / 0.6667 GB Notification: Performance of matching and sorting (n=35): time 0.006586/0.9222, allocations: 1.593 MB / 0.8466 GB, free: 5.477 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.55e-05/0.9223, allocations: 106.8 kB / 0.8467 GB, free: 5.348 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002238/0.9246, allocations: 1.169 MB / 0.8478 GB, free: 4.164 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.9247, allocations: 37.7 kB / 0.8479 GB, free: 4.121 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006719/0.9254, allocations: 0.5323 MB / 0.8484 GB, free: 3.586 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.9256, allocations: 130.2 kB / 0.8485 GB, free: 3.457 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.9256, allocations: 4 kB / 0.8485 GB, free: 3.453 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.9258, allocations: 330 kB / 0.8488 GB, free: 3.125 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005773/0.9264, allocations: 209 kB / 0.849 GB, free: 2.918 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008991/0.9273, allocations: 0.5332 MB / 0.8496 GB, free: 2.246 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007248/0.9281, allocations: 321.5 kB / 0.8499 GB, free: 1.926 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.702e-06/0.9281, allocations: 4 kB / 0.8499 GB, free: 1.922 MB / 0.6667 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003249/0.9313, allocations: 1.045 MB / 0.8509 GB, free: 0.8594 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001249/0.9326, allocations: 2.16 MB / 0.853 GB, free: 14.55 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.9327, allocations: 4 kB / 0.853 GB, free: 14.54 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001684/0.9344, allocations: 326.4 kB / 0.8533 GB, free: 14.22 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000542/0.9349, allocations: 95.86 kB / 0.8534 GB, free: 14.13 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/0.9365, allocations: 1.013 MB / 0.8544 GB, free: 13.09 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.9378, allocations: 103.8 kB / 0.8545 GB, free: 12.99 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.211e-05/0.9379, allocations: 27.98 kB / 0.8545 GB, free: 12.96 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.938, allocations: 6.188 kB / 0.8545 GB, free: 12.96 MB / 0.6824 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002103/0.9401, allocations: 0.7844 MB / 0.8553 GB, free: 12.16 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.9401, allocations: 12.09 kB / 0.8553 GB, free: 12.15 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008319/0.941, allocations: 230.9 kB / 0.8555 GB, free: 11.93 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005076/0.9415, allocations: 111.7 kB / 0.8556 GB, free: 11.82 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005924/0.9474, allocations: 2.992 MB / 0.8586 GB, free: 8.684 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002459/0.9499, allocations: 99.8 kB / 0.8586 GB, free: 8.586 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.9501, allocations: 20 kB / 0.8587 GB, free: 8.566 MB / 0.6824 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * 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.001318/0.9515, allocations: 488.7 kB / 0.8591 GB, free: 8.078 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003577/0.9518, allocations: 106.7 kB / 0.8592 GB, free: 7.973 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003219/0.9551, allocations: 0.7698 MB / 0.86 GB, free: 7.188 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.9551, allocations: 4 kB / 0.86 GB, free: 7.184 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.9551, allocations: 3.938 kB / 0.86 GB, free: 7.18 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.9552, allocations: 0 / 0.86 GB, free: 7.18 MB / 0.6824 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 postOpt removeSimpleEquations (simulation): time 0.007523/0.9627, allocations: 2.184 MB / 0.8621 GB, free: 4.855 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-05/0.9628, allocations: 4 kB / 0.8621 GB, free: 4.852 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007712/0.9636, allocations: 84.05 kB / 0.8622 GB, free: 4.77 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001154/0.9647, allocations: 184.5 kB / 0.8624 GB, free: 4.586 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.106e-05/0.9648, allocations: 8 kB / 0.8624 GB, free: 4.578 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.9667, allocations: 0.8566 MB / 0.8632 GB, free: 3.695 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-05/0.9667, allocations: 3.938 kB / 0.8632 GB, free: 3.691 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00351/0.9703, allocations: 0.9515 MB / 0.8642 GB, free: 2.664 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009621/0.9712, allocations: 227.7 kB / 0.8644 GB, free: 2.422 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002795/0.9716, allocations: 11.95 kB / 0.8644 GB, free: 2.41 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001807/0.9734, allocations: 75.77 kB / 0.8645 GB, free: 2.336 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.9736, allocations: 35.89 kB / 0.8645 GB, free: 2.301 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.722e-05/0.9737, allocations: 19.98 kB / 0.8645 GB, free: 2.281 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.002778/0.9765, allocations: 0.8249 MB / 0.8653 GB, free: 1.449 MB / 0.6824 GB Notification: Performance of sort global known variables: time 1.251e-06/0.9765, allocations: 0 / 0.8653 GB, free: 1.449 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.003305/0.9798, allocations: 0.5031 MB / 0.8658 GB, free: 0.9453 MB / 0.6824 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007736/0.9807, allocations: 192.2 kB / 0.866 GB, free: 0.7578 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.004925/0.9856, allocations: 1.13 MB / 0.8671 GB, free: 15.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.9857, allocations: 0 / 0.8671 GB, free: 15.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.9869, allocations: 250.8 kB / 0.8673 GB, free: 15.35 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007695/0.9946, allocations: 0.6568 MB / 0.868 GB, free: 14.69 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007389/1.002, allocations: 2.092 MB / 0.87 GB, free: 12.54 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001893/1.004, allocations: 1.229 MB / 0.8712 GB, free: 11.28 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002912/1.007, allocations: 380.6 kB / 0.8716 GB, free: 10.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003892/1.007, allocations: 71.42 kB / 0.8717 GB, free: 10.84 MB / 0.698 GB Notification: Performance of SimCode: time 5.876e-06/1.007, allocations: 0 / 0.8717 GB, free: 10.84 MB / 0.698 GB Notification: Performance of Templates: time 0.0643/1.072, allocations: 20.93 MB / 0.8921 GB, free: 6.191 MB / 0.7136 GB