Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.265/2.265, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001532/0.001532, allocations: 173.4 kB / 325.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.807/2.807, allocations: 205.4 MB / 0.5766 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 103.2 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006454/0.0006457, allocations: 11.62 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2143, allocations: 106.3 MB / 0.8989 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.2384/0.4528, allocations: 140.6 MB / 1.036 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005704/0.4586, allocations: 2.183 MB / 1.038 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005736/0.4592, allocations: 11.88 kB / 1.038 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.4603, allocations: 246.9 kB / 1.039 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003074/0.4634, allocations: 0.6933 MB / 1.039 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002277/0.4657, allocations: 485.5 kB / 1.04 GB, free: 0.9258 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00351/0.4692, allocations: 1.636 MB / 1.041 GB, free: 15.29 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004921/0.4742, allocations: 2.309 MB / 1.044 GB, free: 12.96 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002604/0.4768, allocations: 0.8605 MB / 1.044 GB, free: 12.1 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/0.4782, allocations: 0.5992 MB / 1.045 GB, free: 11.5 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001823/0.4784, allocations: 51.94 kB / 1.045 GB, free: 11.45 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002685/0.4811, allocations: 0.6241 MB / 1.046 GB, free: 10.82 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006959/0.4819, allocations: 299 kB / 1.046 GB, free: 10.53 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000628/0.4825, allocations: 253 kB / 1.046 GB, free: 10.27 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002787/0.4853, allocations: 1.169 MB / 1.047 GB, free: 9.102 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4854, allocations: 4 kB / 1.047 GB, free: 9.098 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.545e-06/0.4854, allocations: 0 / 1.047 GB, free: 9.098 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.902e-05/0.4854, allocations: 4 kB / 1.047 GB, free: 9.094 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.005592/0.491, allocations: 1.503 MB / 1.049 GB, free: 7.531 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.4911, allocations: 8.031 kB / 1.049 GB, free: 7.523 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/0.4929, allocations: 206.4 kB / 1.049 GB, free: 7.32 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003985/0.4969, allocations: 0.8678 MB / 1.05 GB, free: 6.398 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.4971, allocations: 45.31 kB / 1.05 GB, free: 6.352 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002792/0.4974, allocations: 67.98 kB / 1.05 GB, free: 6.285 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003519/0.5009, allocations: 0.987 MB / 1.051 GB, free: 5.223 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.492e-05/0.501, allocations: 3.938 kB / 1.051 GB, free: 5.219 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001551/0.5012, allocations: 24 kB / 1.051 GB, free: 5.195 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-05/0.5012, allocations: 20 kB / 1.051 GB, free: 5.176 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003092/0.5043, allocations: 0.8038 MB / 1.052 GB, free: 4.367 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.6747/1.179, allocations: 4.806 MB / 1.056 GB, free: 155.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002743/1.182, allocations: 4.034 MB / 1.06 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/1.182, allocations: 17.05 kB / 1.06 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000863/1.183, allocations: 329.8 kB / 1.061 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005559/1.183, allocations: 33.33 kB / 1.061 GB, free: 150.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 2.965e-06/1.183, allocations: 0 / 1.061 GB, free: 150.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.008164/1.192, allocations: 1.596 MB / 1.062 GB, free: 150.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/1.192, allocations: 107.1 kB / 1.062 GB, free: 150.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002413/1.194, allocations: 1.176 MB / 1.064 GB, free: 150.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001287/1.194, allocations: 37.02 kB / 1.064 GB, free: 150.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006035/1.195, allocations: 0.5047 MB / 1.064 GB, free: 150.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/1.195, allocations: 130.6 kB / 1.064 GB, free: 150.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/1.195, allocations: 9.156 kB / 1.064 GB, free: 150.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.139e-05/1.195, allocations: 327.1 kB / 1.065 GB, free: 149.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006453/1.196, allocations: 209.5 kB / 1.065 GB, free: 149.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008948/1.197, allocations: 0.5315 MB / 1.065 GB, free: 149.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000762/1.198, allocations: 318.4 kB / 1.066 GB, free: 149.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.343e-06/1.198, allocations: 2.844 kB / 1.066 GB, free: 149.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003734/1.201, allocations: 1.045 MB / 1.067 GB, free: 149.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005029/1.202, allocations: 2.144 MB / 1.069 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/1.202, allocations: 6.719 kB / 1.069 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002193/1.204, allocations: 333.9 kB / 1.069 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007525/1.205, allocations: 113 kB / 1.069 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/1.207, allocations: 0.9974 MB / 1.07 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/1.209, allocations: 103.2 kB / 1.07 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/1.209, allocations: 24.8 kB / 1.07 GB, free: 146.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/1.209, allocations: 4.547 kB / 1.07 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002637/1.211, allocations: 0.7922 MB / 1.071 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/1.211, allocations: 7 kB / 1.071 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/1.212, allocations: 231.2 kB / 1.071 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007532/1.213, allocations: 102.4 kB / 1.071 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006038/1.219, allocations: 2.994 MB / 1.074 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/1.221, allocations: 102.8 kB / 1.074 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.272e-05/1.221, allocations: 22.67 kB / 1.074 GB, free: 145 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 (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.0009909/1.222, allocations: 476.1 kB / 1.075 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003036/1.223, allocations: 107.3 kB / 1.075 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002497/1.225, allocations: 0.7763 MB / 1.076 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/1.225, allocations: 8.094 kB / 1.076 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/1.225, allocations: 1.719 kB / 1.076 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/1.225, allocations: 6.719 kB / 1.076 GB, free: 144.6 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 postOpt removeSimpleEquations (simulation): time 0.005481/1.231, allocations: 2.193 MB / 1.078 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/1.231, allocations: 0.8438 kB / 1.078 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006814/1.231, allocations: 82.02 kB / 1.078 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008414/1.232, allocations: 176.1 kB / 1.078 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.321e-05/1.232, allocations: 9.766 kB / 1.078 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/1.234, allocations: 0.8672 MB / 1.079 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/1.234, allocations: 3.25 kB / 1.079 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00225/1.236, allocations: 0.9489 MB / 1.08 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005965/1.236, allocations: 238.5 kB / 1.08 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/1.237, allocations: 8.312 kB / 1.08 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/1.238, allocations: 74.14 kB / 1.08 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/1.238, allocations: 31.62 kB / 1.08 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.221e-05/1.238, allocations: 14.28 kB / 1.08 GB, free: 142.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001688/1.24, allocations: 0.8315 MB / 1.081 GB, free: 142.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.5e-07/1.24, allocations: 0 / 1.081 GB, free: 142.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002271/1.242, allocations: 0.51 MB / 1.082 GB, free: 142.4 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 (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.0006266/1.243, allocations: 179.1 kB / 1.082 GB, free: 142.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003316/1.246, allocations: 1.134 MB / 1.083 GB, free: 141.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.331e-06/1.246, allocations: 0 / 1.083 GB, free: 141.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008623/1.247, allocations: 255.6 kB / 1.083 GB, free: 141.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00598/1.253, allocations: 0.6481 MB / 1.084 GB, free: 141.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004425/1.258, allocations: 2.107 MB / 1.086 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008996/1.259, allocations: 1.232 MB / 1.087 GB, free: 139.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002013/1.261, allocations: 356.2 kB / 1.087 GB, free: 139.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/1.261, allocations: 74.11 kB / 1.087 GB, free: 139.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.522e-06/1.261, allocations: 0 / 1.087 GB, free: 139.3 MB / 0.698 GB Notification: Performance of Templates: time 0.05085/1.312, allocations: 20.84 MB / 1.108 GB, free: 121.1 MB / 0.698 GB