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.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01053/0.01053, allocations: 222.5 kB / 15.17 MB, free: 5.93 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.001074/0.001074, allocations: 180.4 kB / 16.06 MB, free: 5.828 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.544/3.544, allocations: 389.1 MB / 405.9 MB, free: 11.83 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 3.836/3.836, allocations: 472.3 MB / 0.9018 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005378/0.0005379, allocations: 12 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1348, allocations: 98.72 MB / 1.104 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.6098/0.7446, allocations: 151.3 MB / 1.252 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006525/0.7511, allocations: 3.85 MB / 1.256 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003773/0.7515, allocations: 10 kB / 1.256 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007738/0.7523, allocations: 218.1 kB / 1.256 GB, free: 10.83 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.002286/0.7546, allocations: 0.7544 MB / 1.257 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.7564, allocations: 0.5021 MB / 1.257 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003912/0.7604, allocations: 3.304 MB / 1.26 GB, free: 8.93 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003345/0.7637, allocations: 2.174 MB / 1.262 GB, free: 8.164 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001861/0.7656, allocations: 0.9611 MB / 1.263 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001305/0.7669, allocations: 0.8531 MB / 1.264 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001534/0.7671, allocations: 52.22 kB / 1.264 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.7685, allocations: 426.5 kB / 1.265 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000487/0.769, allocations: 330.4 kB / 1.265 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003977/0.7694, allocations: 247.6 kB / 1.265 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.7711, allocations: 1.14 MB / 1.266 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.324e-05/0.7712, allocations: 0 / 1.266 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.316e-06/0.7712, allocations: 0 / 1.266 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.542e-05/0.7712, allocations: 0 / 1.266 GB, free: 6.832 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.003/0.7742, allocations: 1.501 MB / 1.268 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.7743, allocations: 10.38 kB / 1.268 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.7753, allocations: 202.4 kB / 1.268 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002067/0.7774, allocations: 0.9006 MB / 1.269 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.235e-05/0.7775, allocations: 44.72 kB / 1.269 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.7776, allocations: 69.66 kB / 1.269 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001947/0.7796, allocations: 0.9852 MB / 1.27 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.7796, allocations: 6.656 kB / 1.27 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.973e-05/0.7797, allocations: 22.06 kB / 1.27 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.7798, allocations: 14.75 kB / 1.27 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/0.7816, allocations: 0.8103 MB / 1.271 GB, free: 4.328 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.006259/0.7878, allocations: 4.721 MB / 1.275 GB, free: 104 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003374/0.7912, allocations: 4.046 MB / 1.279 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007351/0.792, allocations: 353.8 kB / 1.28 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003565/0.7924, allocations: 196.7 kB / 1.28 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007168/0.7931, allocations: 327.7 kB / 1.28 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004432/0.7936, allocations: 33.94 kB / 1.28 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 3.086e-06/0.7936, allocations: 0 / 1.28 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.006855/0.8004, allocations: 1.751 MB / 1.282 GB, free: 10 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.71e-05/0.8005, allocations: 94.41 kB / 1.282 GB, free: 9.895 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002098/0.8027, allocations: 1.179 MB / 1.283 GB, free: 9.27 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.546e-05/0.8027, allocations: 35.3 kB / 1.283 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006564/0.8034, allocations: 0.5289 MB / 1.284 GB, free: 8.777 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/0.8036, allocations: 119.5 kB / 1.284 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.97e-05/0.8036, allocations: 14.03 kB / 1.284 GB, free: 8.664 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.8038, allocations: 327.5 kB / 1.284 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005178/0.8043, allocations: 211.4 kB / 1.284 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008415/0.8052, allocations: 0.5313 MB / 1.285 GB, free: 7.734 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006608/0.8059, allocations: 315.5 kB / 1.285 GB, free: 7.562 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.87e-06/0.8059, allocations: 2.938 kB / 1.285 GB, free: 7.562 MB / 0.6511 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003091/0.809, allocations: 1.093 MB / 1.286 GB, free: 6.961 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002175/0.8092, allocations: 272.6 kB / 1.286 GB, free: 6.625 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.8093, allocations: 5.344 kB / 1.286 GB, free: 6.625 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001792/0.8111, allocations: 383.9 kB / 1.287 GB, free: 6.453 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003974/0.8115, allocations: 71.7 kB / 1.287 GB, free: 6.434 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.8131, allocations: 1.053 MB / 1.288 GB, free: 5.633 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.8143, allocations: 98.73 kB / 1.288 GB, free: 5.586 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.618e-05/0.8145, allocations: 28.48 kB / 1.288 GB, free: 5.578 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.8145, allocations: 4.75 kB / 1.288 GB, free: 5.578 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002049/0.8165, allocations: 0.8108 MB / 1.289 GB, free: 5.145 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.8166, allocations: 6.062 kB / 1.289 GB, free: 5.145 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008882/0.8175, allocations: 270.6 kB / 1.289 GB, free: 5.027 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/0.8179, allocations: 72.33 kB / 1.289 GB, free: 5.008 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00543/0.8233, allocations: 3.136 MB / 1.292 GB, free: 2.578 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/0.8246, allocations: 97.92 kB / 1.292 GB, free: 2.531 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.841e-05/0.8247, allocations: 22.62 kB / 1.292 GB, free: 2.527 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_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 (35): * Single equations (assignments): 33 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0008851/0.8256, allocations: 480.8 kB / 1.293 GB, free: 2.184 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.8258, allocations: 106.4 kB / 1.293 GB, free: 2.129 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002047/0.8278, allocations: 0.8245 MB / 1.294 GB, free: 1.664 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.992e-06/0.8279, allocations: 3.938 kB / 1.294 GB, free: 1.664 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.658e-06/0.8279, allocations: 0 / 1.294 GB, free: 1.664 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.648e-06/0.8279, allocations: 0.6875 kB / 1.294 GB, free: 1.664 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 postOpt removeSimpleEquations (simulation): time 0.004318/0.8322, allocations: 2.149 MB / 1.296 GB, free: 84 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.008e-06/0.8323, allocations: 3.312 kB / 1.296 GB, free: 84 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002967/0.8326, allocations: 48.83 kB / 1.296 GB, free: 68 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006809/0.8333, allocations: 215.8 kB / 1.296 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.541e-05/0.8333, allocations: 6.906 kB / 1.296 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/0.8344, allocations: 0.8875 MB / 1.297 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.525e-06/0.8344, allocations: 2.844 kB / 1.297 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.8361, allocations: 0.8931 MB / 1.298 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005013/0.8366, allocations: 228.3 kB / 1.298 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.8368, allocations: 12.56 kB / 1.298 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008915/0.8377, allocations: 82.2 kB / 1.298 GB, free: 14.42 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.8378, allocations: 33.67 kB / 1.298 GB, free: 14.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.761e-05/0.8379, allocations: 14.84 kB / 1.298 GB, free: 14.4 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001432/0.8393, allocations: 0.8275 MB / 1.299 GB, free: 13.94 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.73e-07/0.8393, allocations: 0 / 1.299 GB, free: 13.94 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001759/0.8411, allocations: 0.5097 MB / 1.299 GB, free: 13.88 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_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 (22): * Single equations (assignments): 19 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004661/0.8416, allocations: 190.8 kB / 1.3 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002431/0.844, allocations: 1.146 MB / 1.301 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.635e-06/0.8441, allocations: 0 / 1.301 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006712/0.8447, allocations: 251.7 kB / 1.301 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003827/0.8486, allocations: 0.6652 MB / 1.302 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003911/0.8525, allocations: 2.1 MB / 1.304 GB, free: 9.996 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/0.8537, allocations: 1.24 MB / 1.305 GB, free: 8.727 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001447/0.8552, allocations: 360.7 kB / 1.305 GB, free: 8.371 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/0.8554, allocations: 75.36 kB / 1.305 GB, free: 8.301 MB / 0.6667 GB Notification: Performance of SimCode: time 1.805e-06/0.8554, allocations: 0 / 1.305 GB, free: 8.301 MB / 0.6667 GB Notification: Performance of Templates: time 0.05106/0.9065, allocations: 21.23 MB / 1.326 GB, free: 3.457 MB / 0.6823 GB