Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.522/2.522, allocations: 287.9 MB / 302.9 MB, free: 8.328 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.001434/0.001434, allocations: 178.7 kB / 371.4 MB, free: 10.68 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.087/2.087, allocations: 205.4 MB / 0.6301 GB, free: 10.36 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.001001/0.001001, allocations: 95.52 kB / 0.7434 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004602/0.0004605, allocations: 12.22 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1512, allocations: 115.3 MB / 0.9787 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.7826/0.9339, allocations: 135.7 MB / 1.111 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003371/0.9373, allocations: 1.663 MB / 1.113 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004193/0.9378, allocations: 8.406 kB / 1.113 GB, free: 1.418 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006901/0.9385, allocations: 186 kB / 1.113 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001832/0.9403, allocations: 499.5 kB / 1.114 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001791/0.9422, allocations: 411.1 kB / 1.114 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002433/0.9446, allocations: 1.507 MB / 1.115 GB, free: 1.281 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003645/0.9483, allocations: 2.189 MB / 1.118 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.9501, allocations: 0.6951 MB / 1.118 GB, free: 0.9062 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007481/0.9508, allocations: 490.3 kB / 1.119 GB, free: 0.7969 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.951, allocations: 34.47 kB / 1.119 GB, free: 0.7969 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.9523, allocations: 416.7 kB / 1.119 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003332/0.9527, allocations: 256.3 kB / 1.119 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004168/0.9531, allocations: 227.2 kB / 1.12 GB, free: 16.68 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.9545, allocations: 0.9906 MB / 1.121 GB, free: 16.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.346e-05/0.9546, allocations: 0 / 1.121 GB, free: 16.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.573e-06/0.9546, allocations: 0 / 1.121 GB, free: 16.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.726e-05/0.9546, allocations: 0 / 1.121 GB, free: 16.59 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002467/0.9571, allocations: 1.322 MB / 1.122 GB, free: 15.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.9571, allocations: 7.281 kB / 1.122 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009813/0.9581, allocations: 188.6 kB / 1.122 GB, free: 15.72 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.96, allocations: 0.8042 MB / 1.123 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.879e-05/0.9601, allocations: 42.31 kB / 1.123 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.9602, allocations: 58.38 kB / 1.123 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.9618, allocations: 0.825 MB / 1.124 GB, free: 15.13 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.9618, allocations: 3.938 kB / 1.124 GB, free: 15.13 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.992e-05/0.9619, allocations: 24.88 kB / 1.124 GB, free: 15.13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.9619, allocations: 13.12 kB / 1.124 GB, free: 15.13 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.9631, allocations: 0.5716 MB / 1.124 GB, free: 15.11 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.005961/0.9691, allocations: 4.251 MB / 1.128 GB, free: 12.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000975/0.9701, allocations: 466.8 kB / 1.129 GB, free: 12.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.568e-05/0.9702, allocations: 16.23 kB / 1.129 GB, free: 12.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006723/0.9709, allocations: 333.2 kB / 1.129 GB, free: 12.09 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004215/0.9713, allocations: 28.75 kB / 1.129 GB, free: 12.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 3.558e-06/0.9713, allocations: 0 / 1.129 GB, free: 12.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.009121/0.9805, allocations: 1.681 MB / 1.131 GB, free: 11.55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.9807, allocations: 117.3 kB / 1.131 GB, free: 11.42 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003728/0.9844, allocations: 1.143 MB / 1.132 GB, free: 11.06 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001898/0.9846, allocations: 37.08 kB / 1.132 GB, free: 11.03 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009548/0.9856, allocations: 489.3 kB / 1.133 GB, free: 10.82 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002613/0.9859, allocations: 117.1 kB / 1.133 GB, free: 10.74 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.266e-05/0.986, allocations: 10.31 kB / 1.133 GB, free: 10.74 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002668/0.9863, allocations: 325 kB / 1.133 GB, free: 10.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.9873, allocations: 210.2 kB / 1.133 GB, free: 10.38 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/0.9889, allocations: 0.5174 MB / 1.134 GB, free: 9.961 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.9901, allocations: 316.5 kB / 1.134 GB, free: 9.863 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.9902, allocations: 0 / 1.134 GB, free: 9.863 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.005611/0.9958, allocations: 1.058 MB / 1.135 GB, free: 9.461 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001829/0.9977, allocations: 2.131 MB / 1.137 GB, free: 7.219 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-05/0.9977, allocations: 9.266 kB / 1.137 GB, free: 7.215 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003063/1.001, allocations: 341.2 kB / 1.138 GB, free: 7.109 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000925/1.002, allocations: 101.5 kB / 1.138 GB, free: 7.082 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00291/1.005, allocations: 1.045 MB / 1.139 GB, free: 6.438 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002505/1.007, allocations: 90.03 kB / 1.139 GB, free: 6.402 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/1.007, allocations: 22.72 kB / 1.139 GB, free: 6.402 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/1.007, allocations: 10 kB / 1.139 GB, free: 6.398 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003864/1.011, allocations: 0.7954 MB / 1.14 GB, free: 6.152 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.938e-05/1.011, allocations: 9.609 kB / 1.14 GB, free: 6.148 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001629/1.013, allocations: 254.7 kB / 1.14 GB, free: 6.074 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008806/1.014, allocations: 91.84 kB / 1.14 GB, free: 6.055 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009919/1.024, allocations: 3.1 MB / 1.143 GB, free: 4.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/1.026, allocations: 88.62 kB / 1.143 GB, free: 4.234 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/1.027, allocations: 23.66 kB / 1.143 GB, free: 4.234 MB / 0.698 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.001527/1.028, allocations: 476.2 kB / 1.143 GB, free: 3.957 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003745/1.028, allocations: 102.6 kB / 1.144 GB, free: 3.906 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003547/1.032, allocations: 0.7466 MB / 1.144 GB, free: 3.664 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.533e-05/1.032, allocations: 8.734 kB / 1.144 GB, free: 3.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.242e-06/1.032, allocations: 3.172 kB / 1.144 GB, free: 3.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/1.032, allocations: 3.984 kB / 1.144 GB, free: 3.656 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004325/1.036, allocations: 1.165 MB / 1.145 GB, free: 2.992 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/1.037, allocations: 2.219 kB / 1.145 GB, free: 2.992 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006222/1.037, allocations: 64.03 kB / 1.146 GB, free: 2.969 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00147/1.039, allocations: 247.3 kB / 1.146 GB, free: 2.891 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.876e-05/1.039, allocations: 7.719 kB / 1.146 GB, free: 2.891 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00249/1.041, allocations: 1.014 MB / 1.147 GB, free: 2.254 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.628e-06/1.041, allocations: 2.281 kB / 1.147 GB, free: 2.254 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003707/1.045, allocations: 0.9149 MB / 1.148 GB, free: 1.781 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/1.046, allocations: 230 kB / 1.148 GB, free: 1.613 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003122/1.046, allocations: 8.125 kB / 1.148 GB, free: 1.613 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00169/1.048, allocations: 74.77 kB / 1.148 GB, free: 1.578 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/1.048, allocations: 28.8 kB / 1.148 GB, free: 1.566 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.182e-05/1.048, allocations: 12.62 kB / 1.148 GB, free: 1.562 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002841/1.051, allocations: 0.812 MB / 1.149 GB, free: 1.297 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.187e-06/1.051, allocations: 0 / 1.149 GB, free: 1.297 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003457/1.055, allocations: 473.5 kB / 1.149 GB, free: 1.266 MB / 0.698 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 (13): * Single equations (assignments): 10 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.000786/1.056, allocations: 189 kB / 1.149 GB, free: 1.137 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004421/1.06, allocations: 1.132 MB / 1.151 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.322e-06/1.06, allocations: 1.062 kB / 1.151 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007414/1.061, allocations: 266 kB / 1.151 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003533/1.064, allocations: 0.623 MB / 1.151 GB, free: 376 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003879/1.068, allocations: 1.993 MB / 1.153 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/1.069, allocations: 1.2 MB / 1.155 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001534/1.071, allocations: 345.2 kB / 1.155 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/1.071, allocations: 66.58 kB / 1.155 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of SimCode: time 1.641e-06/1.071, allocations: 0 / 1.155 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of Templates: time 0.04747/1.119, allocations: 20.7 MB / 1.175 GB, free: 3.234 MB / 0.7136 GB