Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.594/2.594, allocations: 287.9 MB / 302.9 MB, free: 8.211 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.001416/0.001415, 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.058/2.058, allocations: 205.4 MB / 0.6301 GB, free: 10.38 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.001057/0.001057, allocations: 93.39 kB / 0.7434 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004616/0.0004618, allocations: 13.16 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1544, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.7112/0.8657, allocations: 135.7 MB / 1.111 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003303/0.869, allocations: 1.662 MB / 1.113 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004117/0.8695, allocations: 8.188 kB / 1.113 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006738/0.8701, allocations: 184.2 kB / 1.113 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001813/0.872, allocations: 0.4887 MB / 1.114 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.8738, allocations: 410.5 kB / 1.114 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002442/0.8762, allocations: 1.499 MB / 1.115 GB, free: 1.023 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/0.8775, allocations: 0.6954 MB / 1.116 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001518/0.8791, allocations: 0.6976 MB / 1.117 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000766/0.8798, allocations: 490.8 kB / 1.117 GB, free: 0.6641 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.88, allocations: 34.34 kB / 1.117 GB, free: 0.6641 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001318/0.8813, allocations: 420 kB / 1.118 GB, free: 0.6484 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003428/0.8817, allocations: 260.1 kB / 1.118 GB, free: 0.6094 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000397/0.8821, allocations: 229.5 kB / 1.118 GB, free: 16.54 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.8836, allocations: 0.9668 MB / 1.119 GB, free: 16.45 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.313e-06/0.8836, allocations: 0.8125 kB / 1.119 GB, free: 16.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.323e-06/0.8836, allocations: 0 / 1.119 GB, free: 16.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.697e-05/0.8837, allocations: 0 / 1.119 GB, free: 16.45 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.003612/0.8873, allocations: 1.292 MB / 1.12 GB, free: 15.65 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/0.8874, allocations: 9.266 kB / 1.12 GB, free: 15.65 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002131/0.8895, allocations: 187.7 kB / 1.121 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003483/0.893, allocations: 0.8026 MB / 1.121 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.993e-05/0.8932, allocations: 43.41 kB / 1.121 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002063/0.8934, allocations: 57.5 kB / 1.121 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002632/0.896, allocations: 0.7929 MB / 1.122 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/0.8961, allocations: 1.406 kB / 1.122 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.8962, allocations: 21.44 kB / 1.122 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.999e-05/0.8963, allocations: 17.84 kB / 1.122 GB, free: 14.99 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.8984, allocations: 0.5441 MB / 1.123 GB, free: 14.97 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.006543/0.905, allocations: 4.608 MB / 1.127 GB, free: 11.47 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009185/0.9059, allocations: 434.5 kB / 1.128 GB, free: 11.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.26e-05/0.906, allocations: 12.17 kB / 1.128 GB, free: 11.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006058/0.9066, allocations: 298.9 kB / 1.128 GB, free: 11.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 3.74e-06/0.9066, allocations: 0 / 1.128 GB, free: 11.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.001835/0.9085, allocations: 0.6422 MB / 1.129 GB, free: 11.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.121e-05/0.9086, allocations: 109.8 kB / 1.129 GB, free: 11.15 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/0.9104, allocations: 1.116 MB / 1.13 GB, free: 10.99 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.651e-05/0.9105, allocations: 41.14 kB / 1.13 GB, free: 10.96 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005023/0.911, allocations: 495 kB / 1.13 GB, free: 10.78 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.9112, allocations: 104.9 kB / 1.13 GB, free: 10.72 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.9112, allocations: 8.312 kB / 1.13 GB, free: 10.72 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.9114, allocations: 325.3 kB / 1.131 GB, free: 10.41 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004835/0.9119, allocations: 185.8 kB / 1.131 GB, free: 10.41 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007808/0.9127, allocations: 0.5043 MB / 1.131 GB, free: 10.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005625/0.9133, allocations: 291.3 kB / 1.132 GB, free: 9.988 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.041e-06/0.9133, allocations: 3.062 kB / 1.132 GB, free: 9.988 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001628/0.915, allocations: 0.6832 MB / 1.132 GB, free: 9.832 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001181/0.9162, allocations: 2.121 MB / 1.134 GB, free: 7.598 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.9162, allocations: 6.188 kB / 1.134 GB, free: 7.598 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/0.9163, allocations: 7.719 kB / 1.134 GB, free: 7.598 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006434/0.9169, allocations: 118 kB / 1.135 GB, free: 7.586 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.173e-05/0.917, allocations: 15.02 kB / 1.135 GB, free: 7.582 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.9182, allocations: 105.7 kB / 1.135 GB, free: 7.551 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.9184, allocations: 26.12 kB / 1.135 GB, free: 7.551 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.9184, allocations: 6.562 kB / 1.135 GB, free: 7.547 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001341/0.9197, allocations: 0.5406 MB / 1.135 GB, free: 7.469 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.9198, allocations: 3.312 kB / 1.135 GB, free: 7.469 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.9198, allocations: 13.05 kB / 1.135 GB, free: 7.469 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004733/0.9203, allocations: 114.4 kB / 1.135 GB, free: 7.457 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/0.9203, allocations: 15.09 kB / 1.135 GB, free: 7.453 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.9215, allocations: 95.25 kB / 1.135 GB, free: 7.426 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.014e-05/0.9215, allocations: 22.95 kB / 1.135 GB, free: 7.426 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000829/0.9224, allocations: 469.3 kB / 1.136 GB, free: 7.227 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/0.9226, allocations: 100.9 kB / 1.136 GB, free: 7.176 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.9238, allocations: 477.3 kB / 1.136 GB, free: 7.117 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.164e-06/0.9238, allocations: 5.812 kB / 1.136 GB, free: 7.117 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.9238, allocations: 4 kB / 1.136 GB, free: 7.113 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.9238, allocations: 6.156 kB / 1.136 GB, free: 7.109 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002173/0.926, allocations: 1.104 MB / 1.138 GB, free: 6.484 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.364e-06/0.926, allocations: 3.281 kB / 1.138 GB, free: 6.484 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003512/0.9264, allocations: 65.28 kB / 1.138 GB, free: 6.469 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.842e-06/0.9264, allocations: 6.625 kB / 1.138 GB, free: 6.465 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/0.9265, allocations: 10.09 kB / 1.138 GB, free: 6.465 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.611e-06/0.9265, allocations: 6.594 kB / 1.138 GB, free: 6.461 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.984e-06/0.9265, allocations: 4.578 kB / 1.138 GB, free: 6.461 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.9278, allocations: 0.6258 MB / 1.138 GB, free: 6.094 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005231/0.9283, allocations: 222.4 kB / 1.138 GB, free: 5.926 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/0.9285, allocations: 7.906 kB / 1.138 GB, free: 5.926 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006595/0.9292, allocations: 59.16 kB / 1.139 GB, free: 5.902 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.9293, allocations: 32.2 kB / 1.139 GB, free: 5.887 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/0.9293, allocations: 12.95 kB / 1.139 GB, free: 5.883 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001446/0.9308, allocations: 0.7831 MB / 1.139 GB, free: 5.625 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.34e-07/0.9308, allocations: 1.188 kB / 1.139 GB, free: 5.625 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001671/0.9325, allocations: 407.8 kB / 1.14 GB, free: 5.594 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004972/0.933, allocations: 175 kB / 1.14 GB, free: 5.473 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001885/0.9349, allocations: 0.8193 MB / 1.141 GB, free: 5.168 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.234e-06/0.9349, allocations: 1.031 kB / 1.141 GB, free: 5.168 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005389/0.9355, allocations: 204.6 kB / 1.141 GB, free: 5.125 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/0.9381, allocations: 458 kB / 1.141 GB, free: 4.977 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004112/0.9422, allocations: 1.949 MB / 1.143 GB, free: 3.887 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001142/0.9434, allocations: 1.195 MB / 1.144 GB, free: 2.992 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00181/0.9452, allocations: 429.3 kB / 1.145 GB, free: 2.801 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/0.9455, allocations: 74.17 kB / 1.145 GB, free: 2.789 MB / 0.698 GB Notification: Performance of SimCode: time 1.615e-06/0.9455, allocations: 0 / 1.145 GB, free: 2.789 MB / 0.698 GB Notification: Performance of Templates: time 0.04671/0.9922, allocations: 16.02 MB / 1.161 GB, free: 11.02 MB / 0.7136 GB