Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.773/2.773, allocations: 287.9 MB / 302.9 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001399/0.001399, allocations: 173.2 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.4 MB / 0.6301 GB, free: 10.4 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 100.1 kB / 0.7434 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004668/0.0004671, allocations: 15.38 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1604, allocations: 115.2 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.7609/0.9213, allocations: 140.5 MB / 1.116 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004299/0.9256, allocations: 2.144 MB / 1.118 GB, free: 1.121 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005726/0.9263, allocations: 16.19 kB / 1.118 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009021/0.9272, allocations: 240.3 kB / 1.118 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002653/0.9299, allocations: 0.6824 MB / 1.119 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.9318, allocations: 438.9 kB / 1.119 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002807/0.9346, allocations: 1.639 MB / 1.121 GB, free: 0.9531 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003777/0.9384, allocations: 2.316 MB / 1.123 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00223/0.9407, allocations: 0.8543 MB / 1.124 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001213/0.942, allocations: 0.6032 MB / 1.125 GB, free: 448 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001608/0.9422, allocations: 46.69 kB / 1.125 GB, free: 448 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001875/0.944, allocations: 0.624 MB / 1.125 GB, free: 432 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004076/0.9445, allocations: 303.1 kB / 1.126 GB, free: 392 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005406/0.945, allocations: 251.7 kB / 1.126 GB, free: 16.31 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.9469, allocations: 1.17 MB / 1.127 GB, free: 16.21 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.367e-06/0.9469, allocations: 4 kB / 1.127 GB, free: 16.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.791e-06/0.947, allocations: 0 / 1.127 GB, free: 16.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.396e-05/0.947, allocations: 0 / 1.127 GB, free: 16.2 MB / 0.698 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.003353/0.9504, allocations: 1.511 MB / 1.128 GB, free: 15.36 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.9504, allocations: 10.31 kB / 1.128 GB, free: 15.36 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.9518, allocations: 204.9 kB / 1.129 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00222/0.9541, allocations: 0.864 MB / 1.129 GB, free: 14.94 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.355e-05/0.9541, allocations: 47.78 kB / 1.13 GB, free: 14.94 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/0.9543, allocations: 64.19 kB / 1.13 GB, free: 14.94 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/0.9563, allocations: 0.992 MB / 1.131 GB, free: 14.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.9563, allocations: 1.156 kB / 1.131 GB, free: 14.62 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.9564, allocations: 28.7 kB / 1.131 GB, free: 14.62 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.9565, allocations: 18.59 kB / 1.131 GB, free: 14.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/0.9582, allocations: 0.8028 MB / 1.131 GB, free: 14.44 MB / 0.698 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.00676/0.965, allocations: 4.817 MB / 1.136 GB, free: 10.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003577/0.9686, allocations: 4.026 MB / 1.14 GB, free: 6.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.9688, allocations: 18.97 kB / 1.14 GB, free: 6.246 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000757/0.9695, allocations: 337 kB / 1.14 GB, free: 6.086 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004929/0.97, allocations: 36.44 kB / 1.14 GB, free: 6.066 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 3.727e-06/0.9701, allocations: 1.859 kB / 1.14 GB, free: 6.066 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.006224/0.9763, allocations: 1.591 MB / 1.142 GB, free: 5.379 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.097e-05/0.9764, allocations: 110.5 kB / 1.142 GB, free: 5.254 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002213/0.9787, allocations: 1.177 MB / 1.143 GB, free: 4.883 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.9788, allocations: 40.23 kB / 1.143 GB, free: 4.848 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005705/0.9794, allocations: 0.5175 MB / 1.144 GB, free: 4.625 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.9796, allocations: 119 kB / 1.144 GB, free: 4.543 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.9796, allocations: 7.906 kB / 1.144 GB, free: 4.543 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.9798, allocations: 327.7 kB / 1.144 GB, free: 4.23 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005782/0.9804, allocations: 206.7 kB / 1.144 GB, free: 4.184 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008684/0.9813, allocations: 0.5378 MB / 1.145 GB, free: 3.742 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006804/0.982, allocations: 314.7 kB / 1.145 GB, free: 3.645 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.882e-06/0.982, allocations: 0.875 kB / 1.145 GB, free: 3.645 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003158/0.9852, allocations: 1.047 MB / 1.146 GB, free: 3.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001224/0.9864, allocations: 2.141 MB / 1.148 GB, free: 1.008 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.9865, allocations: 7.203 kB / 1.148 GB, free: 1.008 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001659/0.9881, allocations: 337.2 kB / 1.149 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005851/0.9888, allocations: 105.1 kB / 1.149 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.9903, allocations: 1 MB / 1.15 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.9918, allocations: 97.42 kB / 1.15 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-05/0.9919, allocations: 28.73 kB / 1.15 GB, free: 196 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.9919, allocations: 8.312 kB / 1.15 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002082/0.994, allocations: 0.7963 MB / 1.151 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/0.994, allocations: 8.547 kB / 1.151 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008038/0.9949, allocations: 223.5 kB / 1.151 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005042/0.9954, allocations: 106 kB / 1.151 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005022/1, allocations: 2.993 MB / 1.154 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/1.002, allocations: 101.2 kB / 1.154 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.28e-05/1.002, allocations: 24.12 kB / 1.154 GB, free: 14.03 MB / 0.7136 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.0008609/1.003, allocations: 474.8 kB / 1.154 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/1.003, allocations: 109.9 kB / 1.155 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/1.005, allocations: 0.7711 MB / 1.155 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/1.005, allocations: 3.719 kB / 1.155 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/1.005, allocations: 0.8125 kB / 1.155 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/1.005, allocations: 1.062 kB / 1.155 GB, free: 13.45 MB / 0.7136 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.004381/1.01, allocations: 2.2 MB / 1.157 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.052e-06/1.01, allocations: 1.344 kB / 1.157 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004248/1.01, allocations: 82.72 kB / 1.158 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005732/1.011, allocations: 175.8 kB / 1.158 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.013e-05/1.011, allocations: 10.62 kB / 1.158 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/1.012, allocations: 0.8602 MB / 1.159 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/1.012, allocations: 10.67 kB / 1.159 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/1.014, allocations: 0.9457 MB / 1.16 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000584/1.014, allocations: 230.4 kB / 1.16 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/1.015, allocations: 10.81 kB / 1.16 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009083/1.016, allocations: 82.19 kB / 1.16 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/1.016, allocations: 33.8 kB / 1.16 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.936e-05/1.016, allocations: 12.19 kB / 1.16 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001525/1.017, allocations: 0.8269 MB / 1.161 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.26e-07/1.017, allocations: 1.094 kB / 1.161 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002019/1.019, allocations: 0.5009 MB / 1.161 GB, free: 10.43 MB / 0.7136 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.0005329/1.02, allocations: 197.2 kB / 1.161 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002647/1.023, allocations: 1.126 MB / 1.162 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.338e-06/1.023, allocations: 2.875 kB / 1.162 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006246/1.023, allocations: 254 kB / 1.163 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003776/1.027, allocations: 0.6385 MB / 1.163 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/1.031, allocations: 2.108 MB / 1.165 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/1.032, allocations: 1.23 MB / 1.167 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001519/1.034, allocations: 363.7 kB / 1.167 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/1.034, allocations: 77.05 kB / 1.167 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of SimCode: time 1.866e-06/1.034, allocations: 0 / 1.167 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of Templates: time 0.04961/1.083, allocations: 20.83 MB / 1.187 GB, free: 9.828 MB / 0.7292 GB