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 4.784/4.784, allocations: 0.5623 GB / 0.5775 GB, free: 3.336 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002603/0.002603, allocations: 357.2 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.248/4.248, allocations: 410.7 MB / 1.113 GB, free: 5.945 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001865/0.001864, allocations: 184.5 kB / 1.226 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005072/0.0005073, allocations: 12 kB / 1.349 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7165/0.717, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.357/7.074, allocations: 2.063 GB / 3.525 GB, free: 280.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003447/7.075, allocations: 100.6 kB / 3.525 GB, free: 280.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.449/16.52, allocations: 1.783 GB / 5.308 GB, free: 284 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.405e-06/16.52, allocations: 0 / 5.308 GB, free: 284 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001456/16.52, allocations: 28.78 kB / 5.308 GB, free: 284 MB / 0.948 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.004352/16.53, allocations: 1.424 MB / 5.31 GB, free: 283.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/16.53, allocations: 14.97 kB / 5.31 GB, free: 283.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/16.53, allocations: 181.3 kB / 5.31 GB, free: 283.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00377/16.53, allocations: 1.091 MB / 5.311 GB, free: 283.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-05/16.53, allocations: 45.5 kB / 5.311 GB, free: 283.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/16.53, allocations: 60.12 kB / 5.311 GB, free: 283.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/16.54, allocations: 0.7719 MB / 5.312 GB, free: 282.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/16.54, allocations: 0 / 5.312 GB, free: 282.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.251e-05/16.54, allocations: 28.5 kB / 5.312 GB, free: 282.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/16.54, allocations: 15.97 kB / 5.312 GB, free: 282.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/16.54, allocations: 0.5171 MB / 5.312 GB, free: 282.9 MB / 0.948 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.005397/16.54, allocations: 4.592 MB / 5.317 GB, free: 279.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/16.54, allocations: 422.4 kB / 5.317 GB, free: 279.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005865/16.54, allocations: 245.6 kB / 5.317 GB, free: 279.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003659/16.54, allocations: 193.8 kB / 5.318 GB, free: 279.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000662/16.55, allocations: 298.6 kB / 5.318 GB, free: 279.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.865e-06/16.55, allocations: 0 / 5.318 GB, free: 279.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.002174/16.55, allocations: 0.6493 MB / 5.318 GB, free: 279.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/16.55, allocations: 84.52 kB / 5.319 GB, free: 279.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/16.55, allocations: 1.102 MB / 5.32 GB, free: 278.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/16.55, allocations: 36.8 kB / 5.32 GB, free: 278.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004924/16.55, allocations: 0.4908 MB / 5.32 GB, free: 278.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/16.55, allocations: 105.6 kB / 5.32 GB, free: 278.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/16.55, allocations: 12.84 kB / 5.32 GB, free: 278.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.386e-05/16.55, allocations: 328 kB / 5.321 GB, free: 278.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005829/16.55, allocations: 182.8 kB / 5.321 GB, free: 278.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007925/16.55, allocations: 0.5164 MB / 5.321 GB, free: 278 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006619/16.55, allocations: 290.7 kB / 5.322 GB, free: 278 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/16.55, allocations: 3.969 kB / 5.322 GB, free: 278 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001783/16.55, allocations: 0.681 MB / 5.322 GB, free: 277.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001493/16.55, allocations: 279.5 kB / 5.322 GB, free: 277.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/16.55, allocations: 7.906 kB / 5.322 GB, free: 277.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.113e-05/16.55, allocations: 10.09 kB / 5.322 GB, free: 277.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007769/16.56, allocations: 109.1 kB / 5.323 GB, free: 277.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.94e-05/16.56, allocations: 15.89 kB / 5.323 GB, free: 277.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/16.56, allocations: 101.2 kB / 5.323 GB, free: 277.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.112e-05/16.56, allocations: 21.75 kB / 5.323 GB, free: 277.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/16.56, allocations: 7.062 kB / 5.323 GB, free: 277.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001369/16.56, allocations: 0.5392 MB / 5.323 GB, free: 277.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/16.56, allocations: 3.906 kB / 5.323 GB, free: 277.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/16.56, allocations: 7.875 kB / 5.323 GB, free: 277.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006921/16.56, allocations: 108.1 kB / 5.323 GB, free: 277.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/16.56, allocations: 11.14 kB / 5.323 GB, free: 277.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/16.56, allocations: 108 kB / 5.323 GB, free: 277.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.847e-05/16.56, allocations: 24.12 kB / 5.323 GB, free: 277.5 MB / 0.948 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.0007915/16.56, allocations: 478.3 kB / 5.324 GB, free: 277.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/16.56, allocations: 97.88 kB / 5.324 GB, free: 277.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/16.56, allocations: 0.4922 MB / 5.325 GB, free: 277.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/16.56, allocations: 10.62 kB / 5.325 GB, free: 277.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/16.56, allocations: 0 / 5.325 GB, free: 277.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/16.56, allocations: 7.328 kB / 5.325 GB, free: 277.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003034/16.57, allocations: 1.385 MB / 5.326 GB, free: 276.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/16.57, allocations: 7.109 kB / 5.326 GB, free: 276.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004963/16.57, allocations: 70.8 kB / 5.326 GB, free: 276.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/16.57, allocations: 3.469 kB / 5.326 GB, free: 276.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.39e-05/16.57, allocations: 11.48 kB / 5.326 GB, free: 276.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/16.57, allocations: 3.719 kB / 5.326 GB, free: 276.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/16.57, allocations: 4.531 kB / 5.326 GB, free: 276.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/16.57, allocations: 0.6079 MB / 5.327 GB, free: 276.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000518/16.57, allocations: 219.1 kB / 5.327 GB, free: 276.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/16.57, allocations: 15.08 kB / 5.327 GB, free: 276.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009024/16.57, allocations: 51.89 kB / 5.327 GB, free: 276.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/16.57, allocations: 28.98 kB / 5.327 GB, free: 276.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/16.57, allocations: 22.89 kB / 5.327 GB, free: 276.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001452/16.57, allocations: 0.7772 MB / 5.328 GB, free: 276.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-07/16.57, allocations: 0 / 5.328 GB, free: 276.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001964/16.57, allocations: 478.5 kB / 5.328 GB, free: 276.2 MB / 0.948 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.001631/16.57, allocations: 0.911 MB / 5.329 GB, free: 276.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002084/16.58, allocations: 0.8015 MB / 5.33 GB, free: 275.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/16.58, allocations: 0 / 5.33 GB, free: 275.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005689/16.58, allocations: 206 kB / 5.33 GB, free: 275.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0039/16.58, allocations: 467.1 kB / 5.33 GB, free: 275.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004208/16.59, allocations: 1.954 MB / 5.332 GB, free: 275.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007816/16.59, allocations: 1.2 MB / 5.334 GB, free: 274.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002019/16.59, allocations: 425.8 kB / 5.334 GB, free: 274.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002822/16.59, allocations: 74.7 kB / 5.334 GB, free: 274.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.283e-06/16.59, allocations: 0 / 5.334 GB, free: 274.4 MB / 0.948 GB Notification: Performance of Templates: time 0.06468/16.65, allocations: 26.73 MB / 5.36 GB, free: 273.7 MB / 0.948 GB