Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.429/1.429, allocations: 252 MB / 267.6 MB, free: 10.91 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.001022/0.001022, allocations: 181.1 kB / 327.3 MB, free: 2.219 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.722/1.722, allocations: 205.4 MB / 0.5783 GB, free: 20.5 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.0008456/0.0008456, allocations: 91.89 kB / 0.6829 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004006/0.000401, allocations: 10.56 kB / 0.797 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.2293, allocations: 106.3 MB / 0.9008 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1579/0.3873, allocations: 146.9 MB / 1.044 GB, free: 13 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00364/0.391, allocations: 1.692 MB / 1.046 GB, free: 11.31 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005837/0.3916, allocations: 11.88 kB / 1.046 GB, free: 11.3 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006334/0.3923, allocations: 107.2 kB / 1.046 GB, free: 11.19 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001534/0.3939, allocations: 398.1 kB / 1.046 GB, free: 10.8 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.3951, allocations: 318.7 kB / 1.047 GB, free: 10.49 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003196/0.3983, allocations: 2.981 MB / 1.05 GB, free: 7.504 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/0.3996, allocations: 0.6954 MB / 1.05 GB, free: 6.797 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002222/0.4019, allocations: 0.8598 MB / 1.051 GB, free: 5.934 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001697/0.4036, allocations: 0.7118 MB / 1.052 GB, free: 5.219 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002184/0.4038, allocations: 32 kB / 1.052 GB, free: 5.188 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.4056, allocations: 0.5574 MB / 1.052 GB, free: 4.629 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004357/0.4061, allocations: 275 kB / 1.053 GB, free: 4.359 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005096/0.4066, allocations: 237.1 kB / 1.053 GB, free: 4.121 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.4079, allocations: 1.014 MB / 1.054 GB, free: 3.105 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.408, allocations: 3.938 kB / 1.054 GB, free: 3.102 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.817e-06/0.408, allocations: 3.984 kB / 1.054 GB, free: 3.098 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.408, allocations: 0 / 1.054 GB, free: 3.098 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00231/0.4103, allocations: 1.302 MB / 1.055 GB, free: 1.734 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.4104, allocations: 12.03 kB / 1.055 GB, free: 1.723 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007322/0.4111, allocations: 186.5 kB / 1.055 GB, free: 1.539 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.4125, allocations: 0.7924 MB / 1.056 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.674e-05/0.4126, allocations: 44.95 kB / 1.056 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.639e-05/0.4126, allocations: 64 kB / 1.056 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3816/0.7943, allocations: 0.7984 MB / 1.057 GB, free: 156.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.7944, allocations: 4.844 kB / 1.057 GB, free: 156.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.839e-05/0.7944, allocations: 24.47 kB / 1.057 GB, free: 156.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.7945, allocations: 13.95 kB / 1.057 GB, free: 156.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.7956, allocations: 0.5412 MB / 1.058 GB, free: 156.8 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.003469/0.7991, allocations: 4.599 MB / 1.062 GB, free: 153.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006658/0.7997, allocations: 426.7 kB / 1.062 GB, free: 153.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003627/0.8001, allocations: 251.7 kB / 1.063 GB, free: 153.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002724/0.8004, allocations: 201.1 kB / 1.063 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004873/0.8009, allocations: 295.5 kB / 1.063 GB, free: 153.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.234e-06/0.8009, allocations: 3.531 kB / 1.063 GB, free: 153.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.001536/0.8024, allocations: 0.6428 MB / 1.064 GB, free: 153.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.8025, allocations: 85.67 kB / 1.064 GB, free: 153 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.8039, allocations: 1.107 MB / 1.065 GB, free: 152.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/0.804, allocations: 38.17 kB / 1.065 GB, free: 152.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003649/0.8044, allocations: 494.1 kB / 1.065 GB, free: 152.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.019e-05/0.8044, allocations: 110.3 kB / 1.066 GB, free: 152.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-05/0.8045, allocations: 8.781 kB / 1.066 GB, free: 152.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.208e-05/0.8046, allocations: 326.3 kB / 1.066 GB, free: 152.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003484/0.8049, allocations: 185.5 kB / 1.066 GB, free: 152.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005102/0.8054, allocations: 0.5016 MB / 1.067 GB, free: 151.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000453/0.8059, allocations: 290.6 kB / 1.067 GB, free: 151.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.8059, allocations: 2.75 kB / 1.067 GB, free: 151.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001099/0.807, allocations: 0.6878 MB / 1.068 GB, free: 151.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001269/0.8071, allocations: 276 kB / 1.068 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.8072, allocations: 6.312 kB / 1.068 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.967e-05/0.8072, allocations: 8.875 kB / 1.068 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001918/0.8091, allocations: 374.1 kB / 1.068 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/0.8116, allocations: 6.098 MB / 1.074 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009437/0.8125, allocations: 101.4 kB / 1.074 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.565e-05/0.8126, allocations: 25.06 kB / 1.074 GB, free: 145.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.8126, allocations: 6.5 kB / 1.074 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001049/0.8137, allocations: 0.5404 MB / 1.075 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.8137, allocations: 8.109 kB / 1.075 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/0.8138, allocations: 11.39 kB / 1.075 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006222/0.8144, allocations: 164.3 kB / 1.075 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/0.8144, allocations: 12.97 kB / 1.075 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008024/0.8152, allocations: 100.4 kB / 1.075 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.951e-05/0.8153, allocations: 25.36 kB / 1.075 GB, free: 145.3 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_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): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006957/0.816, allocations: 474.8 kB / 1.076 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.8162, allocations: 98.53 kB / 1.076 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.8172, allocations: 0.4902 MB / 1.076 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.8172, allocations: 3.125 kB / 1.076 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.8172, allocations: 1.406 kB / 1.076 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.8172, allocations: 2.781 kB / 1.076 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/0.8195, allocations: 1.399 MB / 1.077 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.8195, allocations: 2.625 kB / 1.077 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006568/0.8202, allocations: 156.8 kB / 1.078 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-05/0.8202, allocations: 10.19 kB / 1.078 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.8202, allocations: 9.328 kB / 1.078 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/0.8221, allocations: 6.026 MB / 1.084 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.8221, allocations: 1.875 kB / 1.084 GB, free: 138.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009675/0.8231, allocations: 0.6133 MB / 1.084 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003537/0.8234, allocations: 217.8 kB / 1.084 GB, free: 138.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.8235, allocations: 9.234 kB / 1.084 GB, free: 138.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005044/0.824, allocations: 56.17 kB / 1.084 GB, free: 138.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.8242, allocations: 36.44 kB / 1.084 GB, free: 138.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.8242, allocations: 13.3 kB / 1.084 GB, free: 138.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001185/0.8254, allocations: 0.7835 MB / 1.085 GB, free: 138.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8254, allocations: 0 / 1.085 GB, free: 138.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00132/0.8267, allocations: 410.3 kB / 1.086 GB, free: 138.1 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_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): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004318/0.8272, allocations: 171.9 kB / 1.086 GB, free: 138 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003201/0.8304, allocations: 1.124 MB / 1.087 GB, free: 137.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8304, allocations: 0 / 1.087 GB, free: 137.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007878/0.8312, allocations: 294 kB / 1.087 GB, free: 137.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/0.8334, allocations: 460.2 kB / 1.088 GB, free: 137.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003893/0.8373, allocations: 2.074 MB / 1.09 GB, free: 136.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009016/0.8383, allocations: 1.188 MB / 1.091 GB, free: 135.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/0.8386, allocations: 66.19 kB / 1.091 GB, free: 135.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.683e-06/0.8386, allocations: 0 / 1.091 GB, free: 135.9 MB / 0.698 GB Notification: Performance of Templates: time 0.05413/0.8927, allocations: 64.11 MB / 1.153 GB, free: 75.77 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)