Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.285/2.285, allocations: 252.6 MB / 265.2 MB, free: 5.781 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001476/0.001476, allocations: 183.9 kB / 324.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.064/2.064, allocations: 205.4 MB / 0.5754 GB, free: 10.4 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001148/0.001147, allocations: 90.06 kB / 0.6797 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.242e-05/4.257e-05, allocations: 4 kB / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2012, allocations: 106.2 MB / 0.8949 GB, free: 6.266 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.994/7.196, allocations: 2.182 GB / 3.077 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/7.196, allocations: 94.27 kB / 3.077 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 9.938/17.13, allocations: 1.911 GB / 4.988 GB, free: 207.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.345e-06/17.13, allocations: 0 / 4.988 GB, free: 207.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002465/17.13, allocations: 39.25 kB / 4.988 GB, free: 207.6 MB / 0.8698 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.00731/17.14, allocations: 1.276 MB / 4.989 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/17.14, allocations: 10.22 kB / 4.989 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001813/17.14, allocations: 202.3 kB / 4.99 GB, free: 206.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006963/17.15, allocations: 1.431 MB / 4.991 GB, free: 205.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/17.15, allocations: 48.22 kB / 4.991 GB, free: 205.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/17.15, allocations: 65.03 kB / 4.991 GB, free: 205.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/17.15, allocations: 0.9272 MB / 4.992 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/17.15, allocations: 3.375 kB / 4.992 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.925e-05/17.15, allocations: 22.69 kB / 4.992 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/17.15, allocations: 13.94 kB / 4.992 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/17.15, allocations: 0.7043 MB / 4.993 GB, free: 204.7 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.007497/17.16, allocations: 4.727 MB / 4.997 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002683/17.17, allocations: 4.024 MB / 5.001 GB, free: 196 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007753/17.17, allocations: 326.1 kB / 5.002 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004349/17.17, allocations: 201.8 kB / 5.002 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006756/17.17, allocations: 303.3 kB / 5.002 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006712/17.17, allocations: 38.06 kB / 5.002 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 3.497e-06/17.17, allocations: 3.938 kB / 5.002 GB, free: 195.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36): time 0.002356/17.17, allocations: 0.7235 MB / 5.003 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/17.17, allocations: 80.83 kB / 5.003 GB, free: 195 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002164/17.17, allocations: 1.035 MB / 5.004 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001509/17.17, allocations: 33.67 kB / 5.004 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005629/17.17, allocations: 0.5153 MB / 5.004 GB, free: 194 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000167/17.17, allocations: 133.5 kB / 5.005 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/17.17, allocations: 7.906 kB / 5.005 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.404e-05/17.17, allocations: 328.7 kB / 5.005 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004764/17.17, allocations: 192.2 kB / 5.005 GB, free: 193.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000723/17.17, allocations: 0.5308 MB / 5.006 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006199/17.18, allocations: 312.5 kB / 5.006 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/17.18, allocations: 0 / 5.006 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002485/17.18, allocations: 0.9326 MB / 5.007 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004822/17.18, allocations: 2.229 MB / 5.009 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/17.18, allocations: 7.953 kB / 5.009 GB, free: 189.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/17.18, allocations: 228 kB / 5.009 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005807/17.18, allocations: 86.73 kB / 5.009 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/17.18, allocations: 0.9954 MB / 5.01 GB, free: 189 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/17.18, allocations: 96.67 kB / 5.01 GB, free: 189 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/17.18, allocations: 32.3 kB / 5.01 GB, free: 189 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/17.18, allocations: 8.469 kB / 5.01 GB, free: 189 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002053/17.19, allocations: 0.7391 MB / 5.011 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/17.19, allocations: 8 kB / 5.011 GB, free: 188.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009652/17.19, allocations: 231.3 kB / 5.011 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005388/17.19, allocations: 74.38 kB / 5.011 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005049/17.19, allocations: 2.882 MB / 5.014 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001929/17.19, allocations: 105.4 kB / 5.014 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/17.19, allocations: 24.31 kB / 5.014 GB, free: 186.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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.0002567/17.2, allocations: 148.4 kB / 5.014 GB, free: 186 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002946/17.2, allocations: 104.5 kB / 5.015 GB, free: 186 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002034/17.2, allocations: 0.7511 MB / 5.015 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/17.2, allocations: 4 kB / 5.015 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/17.2, allocations: 4 kB / 5.015 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.639e-06/17.2, allocations: 3.953 kB / 5.015 GB, free: 185.4 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.004449/17.2, allocations: 2.11 MB / 5.017 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/17.2, allocations: 4 kB / 5.017 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003927/17.2, allocations: 47.91 kB / 5.017 GB, free: 183.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006707/17.2, allocations: 180.9 kB / 5.018 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/17.2, allocations: 8.25 kB / 5.018 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000963/17.2, allocations: 0.845 MB / 5.018 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/17.2, allocations: 4 kB / 5.018 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/17.21, allocations: 0.9307 MB / 5.019 GB, free: 181 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008284/17.21, allocations: 227.7 kB / 5.02 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002555/17.21, allocations: 16 kB / 5.02 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/17.21, allocations: 83.66 kB / 5.02 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/17.21, allocations: 35.89 kB / 5.02 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.811e-05/17.21, allocations: 12 kB / 5.02 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001672/17.21, allocations: 0.8143 MB / 5.02 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.21e-07/17.21, allocations: 0 / 5.02 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002696/17.21, allocations: 0.605 MB / 5.021 GB, free: 179.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 23 * 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.002055/17.22, allocations: 1.065 MB / 5.022 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002838/17.22, allocations: 1.109 MB / 5.023 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/17.22, allocations: 0 / 5.023 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006276/17.22, allocations: 236.2 kB / 5.023 GB, free: 177 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006046/17.23, allocations: 0.657 MB / 5.024 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003417/17.23, allocations: 1.458 MB / 5.025 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007967/17.23, allocations: 1.235 MB / 5.027 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003782/17.23, allocations: 0.8117 MB / 5.027 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/17.23, allocations: 63.36 kB / 5.028 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.763e-06/17.23, allocations: 0 / 5.028 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.08318/17.32, allocations: 38.27 MB / 5.065 GB, free: 134.8 MB / 0.8698 GB