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 4.528/4.528, allocations: 0.5623 GB / 0.5769 GB, free: 66.95 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002626/0.002626, allocations: 354.7 kB / 0.644 GB, free: 21.58 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.075/4.075, allocations: 410.8 MB / 1.112 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001812/0.001812, allocations: 183.9 kB / 1.225 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0004876/0.0004879, allocations: 20.25 kB / 1.348 GB, free: 320.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1569, allocations: 115.3 MB / 1.461 GB, free: 220.8 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.1485/0.3055, allocations: 151.4 MB / 1.609 GB, free: 69.16 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003835/0.3093, allocations: 2.212 MB / 1.611 GB, free: 66.95 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004211/0.3098, allocations: 11.94 kB / 1.611 GB, free: 66.94 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006808/0.3105, allocations: 210.7 kB / 1.611 GB, free: 66.73 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.002119/0.3126, allocations: 0.7384 MB / 1.612 GB, free: 65.99 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.3142, allocations: 448.1 kB / 1.612 GB, free: 65.56 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.003102/0.3173, allocations: 3.246 MB / 1.615 GB, free: 62.3 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002752/0.3201, allocations: 2.172 MB / 1.617 GB, free: 60.11 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001786/0.3219, allocations: 0.9493 MB / 1.618 GB, free: 59.16 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.3231, allocations: 0.8482 MB / 1.619 GB, free: 58.31 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001335/0.3232, allocations: 48 kB / 1.619 GB, free: 58.26 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.3246, allocations: 0.5845 MB / 1.62 GB, free: 57.68 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0003272/0.3249, allocations: 322.8 kB / 1.62 GB, free: 57.36 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0003102/0.3253, allocations: 249.1 kB / 1.62 GB, free: 57.11 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.3266, allocations: 1.177 MB / 1.621 GB, free: 55.93 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.706e-06/0.3266, allocations: 4 kB / 1.621 GB, free: 55.93 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.138e-06/0.3266, allocations: 4 kB / 1.621 GB, free: 55.92 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.3266, allocations: 0 / 1.621 GB, free: 55.92 MB / 0.8073 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.002615/0.3292, allocations: 1.51 MB / 1.623 GB, free: 54.36 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.3293, allocations: 16.47 kB / 1.623 GB, free: 54.34 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009491/0.3303, allocations: 206.4 kB / 1.623 GB, free: 54.14 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/0.3321, allocations: 0.8754 MB / 1.624 GB, free: 53.21 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.298e-05/0.3322, allocations: 49.31 kB / 1.624 GB, free: 53.16 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.3323, allocations: 60 kB / 1.624 GB, free: 53.1 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.3339, allocations: 0.9948 MB / 1.625 GB, free: 52.04 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.334, allocations: 0 / 1.625 GB, free: 52.04 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-05/0.3341, allocations: 28 kB / 1.625 GB, free: 52.01 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.3341, allocations: 19.98 kB / 1.625 GB, free: 51.99 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/0.3356, allocations: 0.8037 MB / 1.626 GB, free: 51.18 MB / 0.8073 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.00468/0.3403, allocations: 4.816 MB / 1.631 GB, free: 46.02 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001877/0.3422, allocations: 4.013 MB / 1.634 GB, free: 41.18 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006327/0.3429, allocations: 350 kB / 1.635 GB, free: 40.84 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002802/0.3432, allocations: 194.5 kB / 1.635 GB, free: 40.61 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005811/0.3438, allocations: 333.9 kB / 1.635 GB, free: 40.27 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000383/0.3442, allocations: 31.59 kB / 1.635 GB, free: 40.23 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=35): time 3.202e-06/0.3442, allocations: 0 / 1.635 GB, free: 40.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=35): time 0.005619/0.3498, allocations: 1.606 MB / 1.637 GB, free: 38.6 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.3499, allocations: 88.98 kB / 1.637 GB, free: 38.49 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/0.3516, allocations: 1.177 MB / 1.638 GB, free: 37.3 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.756e-05/0.3517, allocations: 33.7 kB / 1.638 GB, free: 37.26 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004197/0.3521, allocations: 0.5159 MB / 1.639 GB, free: 36.74 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.3522, allocations: 122.3 kB / 1.639 GB, free: 36.62 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.3523, allocations: 12 kB / 1.639 GB, free: 36.61 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.379e-05/0.3523, allocations: 326 kB / 1.639 GB, free: 36.29 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004501/0.3528, allocations: 209 kB / 1.639 GB, free: 36.08 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006279/0.3534, allocations: 0.5354 MB / 1.64 GB, free: 35.41 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005402/0.354, allocations: 322.5 kB / 1.64 GB, free: 35.09 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.754e-06/0.354, allocations: 3.938 kB / 1.64 GB, free: 35.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002631/0.3567, allocations: 1.039 MB / 1.641 GB, free: 34.03 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.3568, allocations: 279.5 kB / 1.641 GB, free: 33.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.3568, allocations: 8 kB / 1.641 GB, free: 33.67 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00147/0.3583, allocations: 332.4 kB / 1.642 GB, free: 33.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004777/0.3588, allocations: 111.8 kB / 1.642 GB, free: 33.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/0.3599, allocations: 0.9971 MB / 1.643 GB, free: 32.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.3611, allocations: 103.8 kB / 1.643 GB, free: 32.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.325e-05/0.3612, allocations: 27.98 kB / 1.643 GB, free: 32.08 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.3612, allocations: 4 kB / 1.643 GB, free: 32.07 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001696/0.3629, allocations: 0.7838 MB / 1.644 GB, free: 31.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.363, allocations: 8 kB / 1.644 GB, free: 31.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006964/0.3637, allocations: 232.9 kB / 1.644 GB, free: 31.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004379/0.3641, allocations: 107.9 kB / 1.644 GB, free: 30.94 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003847/0.368, allocations: 2.934 MB / 1.647 GB, free: 27.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.3692, allocations: 95.8 kB / 1.647 GB, free: 27.78 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.664e-05/0.3693, allocations: 24 kB / 1.647 GB, free: 27.76 MB / 0.8073 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.0006016/0.3699, allocations: 484.7 kB / 1.648 GB, free: 27.27 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.3701, allocations: 106.7 kB / 1.648 GB, free: 27.17 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/0.3717, allocations: 0.797 MB / 1.648 GB, free: 26.36 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.081e-06/0.3717, allocations: 4 kB / 1.648 GB, free: 26.36 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3718, allocations: 0 / 1.648 GB, free: 26.36 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.3718, allocations: 3.984 kB / 1.648 GB, free: 26.35 MB / 0.8073 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.003354/0.3751, allocations: 2.136 MB / 1.651 GB, free: 24.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.226e-06/0.3752, allocations: 0 / 1.651 GB, free: 24.08 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003804/0.3756, allocations: 88.08 kB / 1.651 GB, free: 23.99 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005471/0.3761, allocations: 169.5 kB / 1.651 GB, free: 23.82 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.592e-05/0.3762, allocations: 15.98 kB / 1.651 GB, free: 23.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007541/0.377, allocations: 0.8539 MB / 1.652 GB, free: 22.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.243e-06/0.377, allocations: 7.969 kB / 1.652 GB, free: 22.92 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.3785, allocations: 0.8424 MB / 1.652 GB, free: 22.04 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004763/0.379, allocations: 235.7 kB / 1.653 GB, free: 21.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.3792, allocations: 11.98 kB / 1.653 GB, free: 21.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008527/0.38, allocations: 75.83 kB / 1.653 GB, free: 21.7 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.3801, allocations: 31.89 kB / 1.653 GB, free: 21.67 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.698e-05/0.3802, allocations: 12 kB / 1.653 GB, free: 21.66 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0012/0.3814, allocations: 0.8327 MB / 1.654 GB, free: 20.82 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.99e-07/0.3814, allocations: 0 / 1.654 GB, free: 20.82 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001714/0.3831, allocations: 0.5031 MB / 1.654 GB, free: 20.32 MB / 0.8073 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.0004557/0.3836, allocations: 202.9 kB / 1.654 GB, free: 20.12 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002266/0.3859, allocations: 1.136 MB / 1.655 GB, free: 18.95 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.784e-06/0.3859, allocations: 4 kB / 1.655 GB, free: 18.95 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0005892/0.3865, allocations: 247.7 kB / 1.656 GB, free: 18.7 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003831/0.3904, allocations: 0.6605 MB / 1.656 GB, free: 18.05 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003386/0.3938, allocations: 2.122 MB / 1.658 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007201/0.3946, allocations: 1.232 MB / 1.66 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001445/0.396, allocations: 360.4 kB / 1.66 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.3962, allocations: 67.42 kB / 1.66 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of SimCode: time 1.772e-06/0.3962, allocations: 0 / 1.66 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of Templates: time 0.5561/0.9523, allocations: 20.81 MB / 1.68 GB, free: 209.4 MB / 0.8073 GB