Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.354/1.354, allocations: 252 MB / 268 MB, free: 10.88 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.0009414/0.0009412, allocations: 183.9 kB / 327.6 MB, free: 2.105 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.415/1.415, allocations: 205.4 MB / 0.5786 GB, free: 20.43 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.0007342/0.0007342, allocations: 94.62 kB / 0.6832 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003334, allocations: 9.531 kB / 0.7976 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1906, allocations: 106.3 MB / 0.9014 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1461/0.3368, allocations: 157.4 MB / 1.055 GB, free: 1.809 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003153/0.34, allocations: 1.789 MB / 1.057 GB, free: 16 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003196/0.3403, allocations: 7.938 kB / 1.057 GB, free: 8 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.4088/0.7491, allocations: 128.2 kB / 1.057 GB, free: 1.98 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001567/0.7507, allocations: 0.4949 MB / 1.058 GB, free: 1.98 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.7519, allocations: 346.3 kB / 1.058 GB, free: 1.98 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00304/0.7549, allocations: 3.474 MB / 1.061 GB, free: 1.969 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.756, allocations: 0.7427 MB / 1.062 GB, free: 1.867 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001664/0.7577, allocations: 0.8778 MB / 1.063 GB, free: 1.867 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.7587, allocations: 0.7407 MB / 1.064 GB, free: 1.859 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.7588, allocations: 34.84 kB / 1.064 GB, free: 1.859 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/0.7606, allocations: 0.8005 MB / 1.064 GB, free: 1.859 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003872/0.761, allocations: 285.8 kB / 1.065 GB, free: 1.859 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009468/0.762, allocations: 0.538 MB / 1.065 GB, free: 17.83 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.7636, allocations: 1.032 MB / 1.066 GB, free: 17.73 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.7636, allocations: 0 / 1.066 GB, free: 17.73 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.943e-06/0.7636, allocations: 0.8125 kB / 1.066 GB, free: 17.73 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.356e-05/0.7636, allocations: 4 kB / 1.066 GB, free: 17.72 MB / 0.7136 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.002633/0.7663, allocations: 1.289 MB / 1.067 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.7663, allocations: 9.359 kB / 1.067 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009154/0.7673, allocations: 186.1 kB / 1.068 GB, free: 16.86 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/0.7693, allocations: 0.8362 MB / 1.068 GB, free: 16.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.318e-05/0.7693, allocations: 43.03 kB / 1.069 GB, free: 16.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.7695, allocations: 62.5 kB / 1.069 GB, free: 16.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.7709, allocations: 0.805 MB / 1.069 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.7709, allocations: 4.938 kB / 1.069 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.762e-05/0.771, allocations: 26.12 kB / 1.069 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.771, allocations: 17.44 kB / 1.069 GB, free: 16.26 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.7721, allocations: 0.5464 MB / 1.07 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.7771, allocations: 4.608 MB / 1.074 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007339/0.7779, allocations: 430.2 kB / 1.075 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003924/0.7783, allocations: 251.6 kB / 1.075 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003169/0.7786, allocations: 191.9 kB / 1.075 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004909/0.7791, allocations: 294.3 kB / 1.076 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 1.923e-06/0.7791, allocations: 0.8125 kB / 1.076 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31): time 0.001397/0.7805, allocations: 0.6432 MB / 1.076 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.499e-05/0.7806, allocations: 93.7 kB / 1.076 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.7819, allocations: 1.122 MB / 1.077 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.406e-05/0.782, allocations: 41.02 kB / 1.077 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/0.7824, allocations: 490.5 kB / 1.078 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.839e-05/0.7824, allocations: 110.4 kB / 1.078 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.7825, allocations: 4.531 kB / 1.078 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.7826, allocations: 325.9 kB / 1.078 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.783, allocations: 212.3 kB / 1.078 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006007/0.7836, allocations: 0.5283 MB / 1.079 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000891/0.7845, allocations: 0.6421 MB / 1.08 GB, free: 11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.7845, allocations: 0.9062 kB / 1.08 GB, free: 11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001155/0.7857, allocations: 0.742 MB / 1.08 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001935/0.7859, allocations: 277.7 kB / 1.081 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.7859, allocations: 10.03 kB / 1.081 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.7859, allocations: 12.22 kB / 1.081 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004126/0.7863, allocations: 112.1 kB / 1.081 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.7864, allocations: 16.27 kB / 1.081 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008674/0.7872, allocations: 108.8 kB / 1.081 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.875e-05/0.7873, allocations: 21.38 kB / 1.081 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.79e-06/0.7873, allocations: 3.625 kB / 1.081 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008425/0.7882, allocations: 0.5359 MB / 1.081 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.7882, allocations: 5.375 kB / 1.081 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.023e-06/0.7882, allocations: 9.75 kB / 1.081 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003413/0.7885, allocations: 108.3 kB / 1.082 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.7886, allocations: 11.94 kB / 1.082 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000688/0.7893, allocations: 109.9 kB / 1.082 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.7893, allocations: 21.5 kB / 1.082 GB, free: 10.44 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006219/0.7899, allocations: 466.1 kB / 1.082 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.7901, allocations: 98.41 kB / 1.082 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009743/0.7911, allocations: 0.4918 MB / 1.083 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.7911, allocations: 3.406 kB / 1.083 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.7911, allocations: 4.969 kB / 1.083 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.7911, allocations: 6.109 kB / 1.083 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/0.7933, allocations: 1.407 MB / 1.084 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.7933, allocations: 2.375 kB / 1.084 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.7936, allocations: 68.7 kB / 1.084 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.7936, allocations: 4.281 kB / 1.084 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.7936, allocations: 7.5 kB / 1.084 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.7936, allocations: 5.672 kB / 1.084 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.7936, allocations: 5.625 kB / 1.084 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008707/0.7945, allocations: 0.6219 MB / 1.085 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003187/0.7948, allocations: 218.5 kB / 1.085 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.7949, allocations: 11.92 kB / 1.085 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004895/0.7954, allocations: 52.78 kB / 1.085 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.399e-05/0.7955, allocations: 24.81 kB / 1.085 GB, free: 9.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.7956, allocations: 20.34 kB / 1.085 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009599/0.7965, allocations: 0.792 MB / 1.086 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/0.7965, allocations: 0 / 1.086 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001184/0.7977, allocations: 416 kB / 1.086 GB, free: 9.117 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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000425/0.7982, allocations: 191.2 kB / 1.086 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001209/0.7994, allocations: 0.8273 MB / 1.087 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.7994, allocations: 4.188 kB / 1.087 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000297/0.7997, allocations: 204.5 kB / 1.087 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/0.8019, allocations: 445 kB / 1.088 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002832/0.8047, allocations: 2.096 MB / 1.09 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000656/0.8054, allocations: 1.182 MB / 1.091 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.8056, allocations: 76.34 kB / 1.091 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of SimCode: time 5.11e-07/0.8056, allocations: 3.938 kB / 1.091 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of Templates: time 0.0271/0.8327, allocations: 15.67 MB / 1.106 GB, free: 3.914 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)