Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.544/2.544, allocations: 287.9 MB / 302.9 MB, free: 8.18 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.001436/0.001435, allocations: 184.4 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.01/2.01, allocations: 205.4 MB / 0.6301 GB, free: 10.41 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.001054/0.001053, allocations: 106.6 kB / 0.7434 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004631/0.0004633, allocations: 11.91 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2054, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.8534/1.059, allocations: 140.5 MB / 1.116 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006071/1.065, allocations: 3.588 MB / 1.119 GB, free: 0.8281 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005512/1.066, allocations: 14.22 kB / 1.119 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000865/1.066, allocations: 229.3 kB / 1.12 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002399/1.069, allocations: 0.6901 MB / 1.12 GB, free: 0.7422 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00197/1.071, allocations: 486.8 kB / 1.121 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002695/1.074, allocations: 1.648 MB / 1.122 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003481/1.077, allocations: 2.32 MB / 1.125 GB, free: 404 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002102/1.079, allocations: 0.8637 MB / 1.126 GB, free: 264 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008931/1.08, allocations: 0.5975 MB / 1.126 GB, free: 144 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001446/1.08, allocations: 53.28 kB / 1.126 GB, free: 140 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/1.082, allocations: 457.1 kB / 1.127 GB, free: 124 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003335/1.082, allocations: 308.2 kB / 1.127 GB, free: 84 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003454/1.082, allocations: 250.5 kB / 1.127 GB, free: 16.01 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00132/1.084, allocations: 1.127 MB / 1.128 GB, free: 15.91 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.089e-06/1.084, allocations: 0 / 1.128 GB, free: 15.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.181e-06/1.084, allocations: 0 / 1.128 GB, free: 15.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.525e-05/1.084, allocations: 2.844 kB / 1.128 GB, free: 15.91 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.003147/1.087, allocations: 1.5 MB / 1.13 GB, free: 15.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/1.087, allocations: 14.25 kB / 1.13 GB, free: 15.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/1.088, allocations: 203 kB / 1.13 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002137/1.09, allocations: 0.8696 MB / 1.131 GB, free: 14.65 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-05/1.09, allocations: 46.72 kB / 1.131 GB, free: 14.65 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/1.091, allocations: 68.44 kB / 1.131 GB, free: 14.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/1.092, allocations: 0.984 MB / 1.132 GB, free: 14.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/1.092, allocations: 5.484 kB / 1.132 GB, free: 14.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.131e-05/1.093, allocations: 22.56 kB / 1.132 GB, free: 14.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.87e-05/1.093, allocations: 13.31 kB / 1.132 GB, free: 14.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/1.094, allocations: 0.8106 MB / 1.133 GB, free: 14.29 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.006397/1.101, allocations: 4.803 MB / 1.137 GB, free: 10.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003413/1.104, allocations: 4.025 MB / 1.141 GB, free: 6.113 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.788e-05/1.104, allocations: 14.08 kB / 1.141 GB, free: 6.109 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007261/1.105, allocations: 337.9 kB / 1.142 GB, free: 5.953 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004573/1.105, allocations: 34.44 kB / 1.142 GB, free: 5.934 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 3.233e-06/1.105, allocations: 0 / 1.142 GB, free: 5.934 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.006993/1.112, allocations: 1.75 MB / 1.143 GB, free: 5.172 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.415e-05/1.113, allocations: 107.1 kB / 1.143 GB, free: 5.047 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/1.115, allocations: 1.182 MB / 1.145 GB, free: 4.676 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.476e-05/1.115, allocations: 43.08 kB / 1.145 GB, free: 4.641 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00055/1.115, allocations: 0.5156 MB / 1.145 GB, free: 4.422 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/1.116, allocations: 129.7 kB / 1.145 GB, free: 4.328 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/1.116, allocations: 10.12 kB / 1.145 GB, free: 4.328 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000173/1.116, allocations: 321.3 kB / 1.146 GB, free: 4.02 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00054/1.116, allocations: 206.7 kB / 1.146 GB, free: 3.973 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008837/1.117, allocations: 0.5369 MB / 1.146 GB, free: 3.531 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006639/1.118, allocations: 314 kB / 1.147 GB, free: 3.434 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.014e-06/1.118, allocations: 1.969 kB / 1.147 GB, free: 3.434 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003226/1.121, allocations: 1.079 MB / 1.148 GB, free: 3.027 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001214/1.122, allocations: 2.141 MB / 1.15 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/1.122, allocations: 6.438 kB / 1.15 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001805/1.124, allocations: 377.8 kB / 1.15 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/1.125, allocations: 79.31 kB / 1.15 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/1.126, allocations: 1.051 MB / 1.151 GB, free: 0 / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/1.128, allocations: 105.6 kB / 1.151 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.124e-05/1.128, allocations: 26.06 kB / 1.151 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/1.128, allocations: 5.625 kB / 1.151 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002078/1.13, allocations: 0.8145 MB / 1.152 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/1.13, allocations: 6.094 kB / 1.152 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009138/1.131, allocations: 262.4 kB / 1.152 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/1.131, allocations: 72.55 kB / 1.152 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005481/1.137, allocations: 3.187 MB / 1.156 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/1.138, allocations: 101.3 kB / 1.156 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.371e-05/1.138, allocations: 28.16 kB / 1.156 GB, free: 13.74 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 (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.0008214/1.139, allocations: 473.9 kB / 1.156 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/1.139, allocations: 109.6 kB / 1.156 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/1.141, allocations: 0.792 MB / 1.157 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.892e-06/1.141, allocations: 3.969 kB / 1.157 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.785e-06/1.141, allocations: 5.406 kB / 1.157 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/1.141, allocations: 3.328 kB / 1.157 GB, free: 13.14 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.00445/1.146, allocations: 2.244 MB / 1.159 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.413e-06/1.146, allocations: 2.25 kB / 1.159 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003304/1.146, allocations: 53.31 kB / 1.159 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000701/1.147, allocations: 206.3 kB / 1.16 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.139e-05/1.147, allocations: 10.84 kB / 1.16 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/1.148, allocations: 0.8853 MB / 1.16 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.212e-06/1.148, allocations: 1.062 kB / 1.16 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002136/1.15, allocations: 0.9792 MB / 1.161 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006906/1.151, allocations: 237.9 kB / 1.162 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/1.151, allocations: 8.031 kB / 1.162 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009581/1.152, allocations: 82.36 kB / 1.162 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/1.152, allocations: 33.09 kB / 1.162 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.641e-05/1.152, allocations: 17.11 kB / 1.162 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001611/1.154, allocations: 0.8265 MB / 1.163 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.05e-07/1.154, allocations: 2.125 kB / 1.163 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001926/1.156, allocations: 0.5093 MB / 1.163 GB, free: 10.09 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 (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.0005049/1.157, allocations: 198.7 kB / 1.163 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002634/1.159, allocations: 1.138 MB / 1.164 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.13e-06/1.159, allocations: 0 / 1.164 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006936/1.16, allocations: 263.6 kB / 1.165 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00394/1.164, allocations: 0.6462 MB / 1.165 GB, free: 9.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003907/1.168, allocations: 2.099 MB / 1.167 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/1.169, allocations: 1.239 MB / 1.168 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001455/1.17, allocations: 329.2 kB / 1.169 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/1.171, allocations: 67.62 kB / 1.169 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of SimCode: time 1.536e-06/1.171, allocations: 0 / 1.169 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of Templates: time 0.05013/1.221, allocations: 21.13 MB / 1.189 GB, free: 8.73 MB / 0.7292 GB