Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.607/1.607, allocations: 288.4 MB / 303.7 MB, free: 8.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000998/0.0009979, allocations: 180.5 kB / 372.3 MB, free: 6.445 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.4 MB / 0.631 GB, free: 13.54 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007339/0.0007339, allocations: 90.89 kB / 0.7444 GB, free: 64.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004037, allocations: 12 kB / 0.8675 GB, free: 0.6055 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2483, allocations: 115.3 MB / 0.9801 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.6053/0.8536, allocations: 146.7 MB / 1.123 GB, free: 18.11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004082/0.8577, allocations: 3.354 MB / 1.127 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004105/0.8582, allocations: 10.59 kB / 1.127 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005635/0.8588, allocations: 117.8 kB / 1.127 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001207/0.86, allocations: 470.8 kB / 1.127 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.8611, allocations: 378.8 kB / 1.128 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002358/0.8634, allocations: 3.036 MB / 1.131 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/0.8645, allocations: 0.7527 MB / 1.131 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/0.8659, allocations: 0.8774 MB / 1.132 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008344/0.8668, allocations: 0.7107 MB / 1.133 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.281e-05/0.8669, allocations: 33.19 kB / 1.133 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.8683, allocations: 0.7861 MB / 1.134 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002622/0.8686, allocations: 287.9 kB / 1.134 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0005737/0.8692, allocations: 0.5177 MB / 1.134 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000925/0.8701, allocations: 1.028 MB / 1.135 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.8702, allocations: 4 kB / 1.135 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.477e-06/0.8702, allocations: 0 / 1.135 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.8702, allocations: 3.938 kB / 1.135 GB, free: 12.33 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.001773/0.872, allocations: 1.291 MB / 1.137 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.872, allocations: 13.84 kB / 1.137 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006821/0.8727, allocations: 187.6 kB / 1.137 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.8739, allocations: 0.837 MB / 1.138 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.8739, allocations: 45.94 kB / 1.138 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.142e-05/0.874, allocations: 60.59 kB / 1.138 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009332/0.875, allocations: 0.7857 MB / 1.139 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.875, allocations: 8.438 kB / 1.139 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.874e-05/0.875, allocations: 26.56 kB / 1.139 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.8751, allocations: 22.95 kB / 1.139 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007626/0.8758, allocations: 0.5411 MB / 1.139 GB, free: 10.25 MB / 0.7448 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.00292/0.8788, allocations: 4.604 MB / 1.144 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006532/0.8794, allocations: 429.4 kB / 1.144 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003214/0.8798, allocations: 255.2 kB / 1.144 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002393/0.88, allocations: 194 kB / 1.145 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004223/0.8804, allocations: 302.3 kB / 1.145 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=31): time 2.194e-06/0.8805, allocations: 0.9375 kB / 1.145 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31): time 0.003506/0.884, allocations: 1.366 MB / 1.146 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.884, allocations: 80.36 kB / 1.146 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/0.8852, allocations: 1.115 MB / 1.147 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.857e-05/0.8852, allocations: 36.11 kB / 1.147 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/0.8855, allocations: 488.9 kB / 1.148 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.918e-05/0.8856, allocations: 109.5 kB / 1.148 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.017e-05/0.8856, allocations: 15.19 kB / 1.148 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.328e-05/0.8857, allocations: 323.9 kB / 1.148 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.886, allocations: 186.3 kB / 1.148 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004447/0.8865, allocations: 0.4954 MB / 1.149 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000649/0.8871, allocations: 0.5967 MB / 1.15 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.758e-05/0.8871, allocations: 4.969 kB / 1.15 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001986/0.8891, allocations: 0.991 MB / 1.15 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.8893, allocations: 270.9 kB / 1.151 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.8893, allocations: 10.44 kB / 1.151 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/0.8905, allocations: 334 kB / 1.151 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/0.8907, allocations: 66.67 kB / 1.151 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008642/0.8916, allocations: 1.014 MB / 1.152 GB, free: 1.758 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007858/0.8924, allocations: 104 kB / 1.152 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-05/0.8925, allocations: 26.19 kB / 1.152 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/0.8925, allocations: 6.375 kB / 1.152 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00116/0.8936, allocations: 0.7231 MB / 1.153 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.8937, allocations: 6.906 kB / 1.153 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004637/0.8941, allocations: 220.1 kB / 1.153 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.8943, allocations: 66.67 kB / 1.153 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003057/0.8974, allocations: 3.115 MB / 1.156 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007692/0.8982, allocations: 93.44 kB / 1.156 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.891e-05/0.8982, allocations: 26.33 kB / 1.156 GB, free: 15.25 MB / 0.7605 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 (34): * Single equations (assignments): 32 * 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.0005623/0.8988, allocations: 475.3 kB / 1.157 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.8989, allocations: 101.7 kB / 1.157 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.9001, allocations: 0.7158 MB / 1.158 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.9001, allocations: 3.25 kB / 1.158 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.9001, allocations: 0 / 1.158 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.9001, allocations: 6.969 kB / 1.158 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002182/0.9023, allocations: 1.614 MB / 1.159 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.9023, allocations: 3.438 kB / 1.159 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.9024, allocations: 25.12 kB / 1.159 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004183/0.9029, allocations: 236.1 kB / 1.159 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.9029, allocations: 13.98 kB / 1.159 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008526/0.9038, allocations: 0.9745 MB / 1.16 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.9038, allocations: 6.688 kB / 1.16 GB, free: 13.06 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.9049, allocations: 0.8324 MB / 1.161 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003431/0.9052, allocations: 223.5 kB / 1.161 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.921e-05/0.9054, allocations: 7.344 kB / 1.161 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004726/0.9058, allocations: 58.81 kB / 1.162 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.108e-05/0.9059, allocations: 35.62 kB / 1.162 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.906, allocations: 13.31 kB / 1.162 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0008664/0.9068, allocations: 0.7939 MB / 1.162 GB, free: 12.13 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9068, allocations: 0 / 1.162 GB, free: 12.13 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001166/0.908, allocations: 452.1 kB / 1.163 GB, free: 12.08 MB / 0.7605 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 (12): * Single equations (assignments): 9 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003989/0.9084, allocations: 178.6 kB / 1.163 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001717/0.9101, allocations: 1.055 MB / 1.164 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.9102, allocations: 4.062 kB / 1.164 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004476/0.9106, allocations: 235 kB / 1.164 GB, free: 11.42 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002185/0.9128, allocations: 455.8 kB / 1.165 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.9153, allocations: 1.981 MB / 1.167 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005934/0.9159, allocations: 1.18 MB / 1.168 GB, free: 9.523 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0008218/0.9168, allocations: 325.5 kB / 1.168 GB, free: 9.473 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.9169, allocations: 59.53 kB / 1.168 GB, free: 9.461 MB / 0.7605 GB Notification: Performance of SimCode: time 4.01e-07/0.9169, allocations: 4 kB / 1.168 GB, free: 9.457 MB / 0.7605 GB Notification: Performance of Templates: time 0.03374/0.9506, allocations: 18.65 MB / 1.186 GB, free: 8.188 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)