Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009107/0.0009109, allocations: 91.77 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005425/0.005425, allocations: 170.3 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.881/2.881, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003265/0.0003265, allocations: 11.19 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2862, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.166/0.4522, allocations: 157.3 MB / 1.228 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003319/0.4556, allocations: 1.745 MB / 1.229 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002875/0.4559, allocations: 15.88 kB / 1.229 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006739/0.4566, allocations: 135.2 kB / 1.23 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001354/0.4579, allocations: 0.4941 MB / 1.23 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009253/0.4589, allocations: 346.6 kB / 1.23 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00332/0.4622, allocations: 3.483 MB / 1.234 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.4633, allocations: 0.7543 MB / 1.235 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001601/0.4649, allocations: 0.8869 MB / 1.235 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008954/0.4658, allocations: 0.7155 MB / 1.236 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.836e-05/0.4659, allocations: 32 kB / 1.236 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.4673, allocations: 0.795 MB / 1.237 GB, free: 216 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003068/0.4676, allocations: 286.8 kB / 1.237 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006391/0.4683, allocations: 0.5301 MB / 1.238 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.4698, allocations: 1.366 MB / 1.239 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.4699, allocations: 0 / 1.239 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4699, allocations: 0 / 1.239 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.4699, allocations: 0 / 1.239 GB, free: 14.02 MB / 0.9981 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.001977/0.4719, allocations: 1.26 MB / 1.24 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.4719, allocations: 12.03 kB / 1.24 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008112/0.4727, allocations: 186.5 kB / 1.24 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.4739, allocations: 0.7982 MB / 1.241 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.867e-05/0.474, allocations: 45 kB / 1.241 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-05/0.4741, allocations: 60 kB / 1.241 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.4752, allocations: 0.8043 MB / 1.242 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.4753, allocations: 3.938 kB / 1.242 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.837e-05/0.4753, allocations: 20 kB / 1.242 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.4754, allocations: 15.98 kB / 1.242 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008964/0.4763, allocations: 0.5539 MB / 1.243 GB, free: 10.07 MB / 0.9981 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.003756/0.48, allocations: 4.595 MB / 1.247 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007299/0.4808, allocations: 438.2 kB / 1.248 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000395/0.4812, allocations: 249.3 kB / 1.248 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002869/0.4815, allocations: 198.2 kB / 1.248 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004841/0.482, allocations: 293.6 kB / 1.248 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.084e-06/0.482, allocations: 0 / 1.248 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001337/0.4833, allocations: 0.653 MB / 1.249 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.4834, allocations: 81.11 kB / 1.249 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.4847, allocations: 1.114 MB / 1.25 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.4848, allocations: 37.7 kB / 1.25 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004001/0.4852, allocations: 492.1 kB / 1.251 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.984e-05/0.4853, allocations: 110.5 kB / 1.251 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-05/0.4853, allocations: 41.7 kB / 1.251 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.4855, allocations: 329.9 kB / 1.251 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003878/0.4859, allocations: 212.7 kB / 1.251 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006166/0.4865, allocations: 0.5291 MB / 1.252 GB, free: 96 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5803/1.067, allocations: 0.6364 MB / 1.252 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/1.067, allocations: 0.875 kB / 1.252 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001546/1.068, allocations: 0.7278 MB / 1.253 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/1.069, allocations: 277.8 kB / 1.253 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/1.069, allocations: 6.484 kB / 1.253 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/1.069, allocations: 12.19 kB / 1.253 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001907/1.07, allocations: 358.9 kB / 1.254 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002404/1.073, allocations: 6.084 MB / 1.26 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008947/1.074, allocations: 102.4 kB / 1.26 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.375e-05/1.074, allocations: 28.53 kB / 1.26 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/1.074, allocations: 4.438 kB / 1.26 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00107/1.075, allocations: 0.5381 MB / 1.26 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.075, allocations: 5.5 kB / 1.26 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/1.075, allocations: 8.5 kB / 1.26 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000583/1.076, allocations: 155.6 kB / 1.261 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/1.076, allocations: 16.44 kB / 1.261 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007034/1.076, allocations: 88.7 kB / 1.261 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/1.076, allocations: 22.36 kB / 1.261 GB, free: 176.2 MB / 0.9981 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 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * 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 (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005693/1.077, allocations: 466.5 kB / 1.261 GB, free: 176 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/1.077, allocations: 107.4 kB / 1.261 GB, free: 176 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009712/1.078, allocations: 0.4971 MB / 1.262 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/1.078, allocations: 3.781 kB / 1.262 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/1.078, allocations: 1.062 kB / 1.262 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/1.078, allocations: 1.734 kB / 1.262 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/1.08, allocations: 1.402 MB / 1.263 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.08, allocations: 2.438 kB / 1.263 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006205/1.081, allocations: 160.6 kB / 1.263 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/1.081, allocations: 3 kB / 1.263 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/1.081, allocations: 8.5 kB / 1.263 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/1.083, allocations: 6.024 MB / 1.269 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.083, allocations: 2.469 kB / 1.269 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008319/1.083, allocations: 0.6132 MB / 1.27 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002714/1.084, allocations: 215.5 kB / 1.27 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/1.084, allocations: 14 kB / 1.27 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000468/1.084, allocations: 52.45 kB / 1.27 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.69e-05/1.084, allocations: 32.41 kB / 1.27 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/1.084, allocations: 11.2 kB / 1.27 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008649/1.085, allocations: 0.7899 MB / 1.271 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.51e-07/1.085, allocations: 0 / 1.271 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00114/1.086, allocations: 417 kB / 1.271 GB, free: 169 MB / 0.9981 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 (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003919/1.087, allocations: 166.6 kB / 1.271 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00293/1.09, allocations: 1.106 MB / 1.272 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.09, allocations: 4.062 kB / 1.272 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007863/1.091, allocations: 301.3 kB / 1.273 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002333/1.093, allocations: 458.3 kB / 1.273 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/1.096, allocations: 2.104 MB / 1.275 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000728/1.097, allocations: 1.179 MB / 1.276 GB, free: 167 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001237/1.098, allocations: 383.3 kB / 1.277 GB, free: 167 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/1.098, allocations: 64.34 kB / 1.277 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.282e-06/1.098, allocations: 0 / 1.277 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.03535/1.133, allocations: 17.2 MB / 1.294 GB, free: 162.1 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)