Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.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.ParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001262/0.001262, allocations: 191.5 kB / 16.13 MB, free: 6.703 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.465/1.465, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.839/2.839, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 68.42 kB / 0.9114 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2883, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp): time 0.1614/0.4498, allocations: 159.4 MB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005186/0.455, allocations: 3.644 MB / 1.227 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003932/0.4554, allocations: 7.938 kB / 1.227 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006087/0.4561, allocations: 135.2 kB / 1.227 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.4574, allocations: 0.498 MB / 1.227 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.4586, allocations: 392.7 kB / 1.228 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003273/0.4618, allocations: 3.507 MB / 1.231 GB, free: 2.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002974/0.4648, allocations: 2.247 MB / 1.233 GB, free: 480 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00184/0.4667, allocations: 0.922 MB / 1.234 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.4679, allocations: 0.7389 MB / 1.235 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002381/0.4682, allocations: 40 kB / 1.235 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001729/0.4699, allocations: 0.8184 MB / 1.236 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004151/0.4704, allocations: 286.9 kB / 1.236 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008453/0.4712, allocations: 0.5206 MB / 1.237 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00185/0.4731, allocations: 1.406 MB / 1.238 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.4731, allocations: 0 / 1.238 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.153e-06/0.4731, allocations: 0 / 1.238 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.066e-05/0.4732, allocations: 0 / 1.238 GB, free: 11.73 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.002611/0.4758, allocations: 1.452 MB / 1.239 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.4758, allocations: 16.02 kB / 1.239 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008434/0.4767, allocations: 190.4 kB / 1.24 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.478, allocations: 0.8063 MB / 1.24 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.976e-05/0.478, allocations: 44.94 kB / 1.24 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.239e-05/0.4781, allocations: 56 kB / 1.24 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.4795, allocations: 0.8304 MB / 1.241 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.4795, allocations: 0 / 1.241 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-05/0.4796, allocations: 24 kB / 1.241 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.4796, allocations: 12 kB / 1.241 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.4806, allocations: 0.5695 MB / 1.242 GB, free: 7.539 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.0043/0.4849, allocations: 4.2 MB / 1.246 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008063/0.4858, allocations: 438.8 kB / 1.246 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005257/0.4863, allocations: 344.9 kB / 1.247 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003468/0.4867, allocations: 194.2 kB / 1.247 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005549/0.4872, allocations: 323 kB / 1.247 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000287/0.4875, allocations: 39.59 kB / 1.247 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.214e-06/0.4875, allocations: 0 / 1.247 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.001542/0.4891, allocations: 0.701 MB / 1.248 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.4892, allocations: 81.11 kB / 1.248 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5485/1.038, allocations: 1.152 MB / 1.249 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.00013/1.038, allocations: 37.61 kB / 1.249 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005267/1.038, allocations: 487.3 kB / 1.25 GB, free: 186 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/1.039, allocations: 116.9 kB / 1.25 GB, free: 186 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002234/1.039, allocations: 113.6 kB / 1.25 GB, free: 186 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.885e-05/1.039, allocations: 324.3 kB / 1.25 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004836/1.039, allocations: 238.8 kB / 1.25 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006176/1.04, allocations: 0.5453 MB / 1.251 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009632/1.041, allocations: 0.6708 MB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/1.041, allocations: 2.203 kB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001585/1.043, allocations: 0.774 MB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.626e-05/1.043, allocations: 35.27 kB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/1.043, allocations: 6.5 kB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.857e-05/1.043, allocations: 8.406 kB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002234/1.045, allocations: 372.9 kB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/1.047, allocations: 6.082 MB / 1.259 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/1.048, allocations: 73.83 kB / 1.259 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.177e-05/1.048, allocations: 29.19 kB / 1.259 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007624/1.049, allocations: 0.5168 MB / 1.259 GB, free: 179 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004929/1.05, allocations: 0.5092 MB / 1.26 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007291/1.05, allocations: 0.5982 MB / 1.26 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.598e-06/1.05, allocations: 5.594 kB / 1.26 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001135/1.051, allocations: 0.6908 MB / 1.261 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/1.052, allocations: 38.27 kB / 1.261 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/1.052, allocations: 5.656 kB / 1.261 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/1.052, allocations: 10.95 kB / 1.261 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006049/1.052, allocations: 148.4 kB / 1.261 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/1.052, allocations: 15.08 kB / 1.261 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007366/1.053, allocations: 87.45 kB / 1.261 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/1.053, allocations: 25.5 kB / 1.261 GB, free: 178.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 (55): * Single equations (assignments): 44 * 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.000153/1.053, allocations: 221.7 kB / 1.262 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/1.053, allocations: 102.9 kB / 1.262 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008594/1.054, allocations: 0.5434 MB / 1.262 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.054, allocations: 6.688 kB / 1.262 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.054, allocations: 6.781 kB / 1.262 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/1.054, allocations: 4.625 kB / 1.262 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/1.056, allocations: 1.487 MB / 1.264 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/1.056, allocations: 2.625 kB / 1.264 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006504/1.057, allocations: 153.2 kB / 1.264 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/1.057, allocations: 5.25 kB / 1.264 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/1.057, allocations: 6.75 kB / 1.264 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/1.058, allocations: 6.026 MB / 1.27 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.058, allocations: 10.75 kB / 1.27 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007979/1.059, allocations: 0.6555 MB / 1.27 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002747/1.059, allocations: 225.6 kB / 1.271 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/1.059, allocations: 9.438 kB / 1.271 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000606/1.06, allocations: 58.52 kB / 1.271 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-05/1.06, allocations: 34.77 kB / 1.271 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/1.06, allocations: 15.14 kB / 1.271 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009698/1.061, allocations: 0.8152 MB / 1.271 GB, free: 171 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.061, allocations: 4 kB / 1.271 GB, free: 171 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001033/1.062, allocations: 426.4 kB / 1.272 GB, free: 171 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 (33): * Single equations (assignments): 21 * 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.0003789/1.063, allocations: 185.6 kB / 1.272 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003516/1.066, allocations: 1.156 MB / 1.273 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.066, allocations: 2.875 kB / 1.273 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009439/1.067, allocations: 321.4 kB / 1.273 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003262/1.07, allocations: 0.6332 MB / 1.274 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003597/1.074, allocations: 2.195 MB / 1.276 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000928/1.075, allocations: 1.183 MB / 1.277 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001241/1.076, allocations: 374.3 kB / 1.278 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/1.076, allocations: 74.94 kB / 1.278 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/1.076, allocations: 0 / 1.278 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.03663/1.113, allocations: 20.14 MB / 1.297 GB, free: 161.3 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.makefile (rm -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.sim & ./Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe 2>&1)