Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.453/1.453, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009919/0.0009921, allocations: 182.9 kB / 327.6 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.4 MB / 0.5786 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007577/0.0007579, allocations: 82.42 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003135/0.0003137, allocations: 9 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.193, allocations: 106.3 MB / 0.9014 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1471/0.3402, allocations: 157.4 MB / 1.055 GB, free: 1.309 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.3848/0.725, allocations: 3.63 MB / 1.059 GB, free: 2.016 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003542/0.7254, allocations: 7.406 kB / 1.059 GB, free: 2.016 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004545/0.7258, allocations: 137.1 kB / 1.059 GB, free: 2.016 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001086/0.7269, allocations: 0.4987 MB / 1.059 GB, free: 2.008 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009986/0.7279, allocations: 388.1 kB / 1.06 GB, free: 1.996 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002788/0.7307, allocations: 3.491 MB / 1.063 GB, free: 1.984 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/0.7318, allocations: 0.7524 MB / 1.064 GB, free: 1.883 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001635/0.7334, allocations: 0.8803 MB / 1.065 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009052/0.7343, allocations: 0.7321 MB / 1.065 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.803e-05/0.7344, allocations: 32.94 kB / 1.065 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.736, allocations: 0.8008 MB / 1.066 GB, free: 1.867 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003935/0.7364, allocations: 288.2 kB / 1.067 GB, free: 1.867 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007941/0.7372, allocations: 0.5456 MB / 1.067 GB, free: 1.832 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.7387, allocations: 1.034 MB / 1.068 GB, free: 1.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.7387, allocations: 0.6562 kB / 1.068 GB, free: 1.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7387, allocations: 0 / 1.068 GB, free: 1.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.898e-05/0.7388, allocations: 0.7188 kB / 1.068 GB, free: 1.73 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002589/0.7414, allocations: 1.295 MB / 1.069 GB, free: 16.93 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.7414, allocations: 9.625 kB / 1.069 GB, free: 16.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008977/0.7423, allocations: 187.6 kB / 1.07 GB, free: 16.86 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/0.744, allocations: 0.8328 MB / 1.07 GB, free: 16.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.936e-05/0.7441, allocations: 45.06 kB / 1.07 GB, free: 16.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.86e-05/0.7442, allocations: 59.59 kB / 1.07 GB, free: 16.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.7454, allocations: 0.7999 MB / 1.071 GB, free: 16.26 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.7455, allocations: 4.812 kB / 1.071 GB, free: 16.26 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.666e-05/0.7455, allocations: 22.22 kB / 1.071 GB, free: 16.26 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.7456, allocations: 14.22 kB / 1.071 GB, free: 16.26 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.7467, allocations: 0.5486 MB / 1.072 GB, free: 16.26 MB / 0.7136 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.004981/0.7517, allocations: 4.618 MB / 1.076 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007285/0.7524, allocations: 435.1 kB / 1.077 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003783/0.7528, allocations: 250.1 kB / 1.077 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002992/0.7531, allocations: 192.5 kB / 1.077 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004836/0.7536, allocations: 306.4 kB / 1.077 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 3.266e-06/0.7536, allocations: 0 / 1.077 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31): time 0.003852/0.7575, allocations: 1.356 MB / 1.079 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.7576, allocations: 87.58 kB / 1.079 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/0.7591, allocations: 1.128 MB / 1.08 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.546e-05/0.7592, allocations: 34.33 kB / 1.08 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003581/0.7596, allocations: 497.2 kB / 1.08 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.7597, allocations: 105.8 kB / 1.081 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.419e-05/0.7597, allocations: 6.312 kB / 1.081 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.7599, allocations: 327 kB / 1.081 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/0.7602, allocations: 213.8 kB / 1.081 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006381/0.7609, allocations: 0.5261 MB / 1.082 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009357/0.7618, allocations: 0.6486 MB / 1.082 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.7619, allocations: 9.688 kB / 1.082 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002309/0.7642, allocations: 1.07 MB / 1.083 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001893/0.7644, allocations: 275.5 kB / 1.084 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.7644, allocations: 5.406 kB / 1.084 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001384/0.7658, allocations: 381.2 kB / 1.084 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.766, allocations: 70.05 kB / 1.084 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009766/0.767, allocations: 1.007 MB / 1.085 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.7681, allocations: 102.2 kB / 1.085 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.815e-05/0.7681, allocations: 25.77 kB / 1.085 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.7682, allocations: 8.906 kB / 1.085 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001286/0.7695, allocations: 0.7345 MB / 1.086 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.7695, allocations: 5.344 kB / 1.086 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004905/0.77, allocations: 213.6 kB / 1.086 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.7702, allocations: 68.08 kB / 1.086 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00323/0.7734, allocations: 3.113 MB / 1.089 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.7745, allocations: 103.2 kB / 1.089 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.496e-05/0.7746, allocations: 22.22 kB / 1.089 GB, free: 8.094 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0007425/0.7753, allocations: 473.5 kB / 1.09 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.7755, allocations: 96.38 kB / 1.09 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.7766, allocations: 0.7309 MB / 1.09 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.7766, allocations: 4.016 kB / 1.09 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.7767, allocations: 0 / 1.09 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.7767, allocations: 6.422 kB / 1.091 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/0.7789, allocations: 1.62 MB / 1.092 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.7789, allocations: 2.938 kB / 1.092 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.779, allocations: 24.72 kB / 1.092 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004222/0.7794, allocations: 227.8 kB / 1.092 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.7795, allocations: 10.7 kB / 1.092 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007576/0.7802, allocations: 0.9773 MB / 1.093 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.7802, allocations: 1.812 kB / 1.093 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.7813, allocations: 0.852 MB / 1.094 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003703/0.7817, allocations: 220.2 kB / 1.094 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.7818, allocations: 9.656 kB / 1.094 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005433/0.7824, allocations: 62.5 kB / 1.094 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.584e-05/0.7825, allocations: 24.95 kB / 1.094 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.7825, allocations: 13.28 kB / 1.094 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009863/0.7835, allocations: 0.796 MB / 1.095 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7835, allocations: 0 / 1.095 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001445/0.785, allocations: 454.4 kB / 1.096 GB, free: 6.078 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000397/0.7854, allocations: 166.4 kB / 1.096 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001713/0.7871, allocations: 1.097 MB / 1.097 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.7871, allocations: 0 / 1.097 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004228/0.7876, allocations: 232.6 kB / 1.097 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/0.7897, allocations: 456.3 kB / 1.098 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/0.7924, allocations: 2.115 MB / 1.1 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006275/0.7931, allocations: 1.189 MB / 1.101 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.7932, allocations: 60.78 kB / 1.101 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of SimCode: time 4.51e-07/0.7932, allocations: 0 / 1.101 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of Templates: time 0.02683/0.8201, allocations: 20.16 MB / 1.121 GB, free: 12.86 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)