Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001158/0.001158, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001365/0.001365, allocations: 191.9 kB / 16.14 MB, free: 6.688 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.404/1.404, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.764/2.764, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 62.92 kB / 0.9114 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3077, allocations: 159.9 MB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp): time 0.1678/0.4755, allocations: 159.4 MB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004941/0.4805, allocations: 3.636 MB / 1.227 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003259/0.4808, allocations: 11.88 kB / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006137/0.4815, allocations: 127.2 kB / 1.227 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001217/0.4827, allocations: 0.5019 MB / 1.227 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.4838, allocations: 398.2 kB / 1.228 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003188/0.487, allocations: 3.507 MB / 1.231 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002728/0.4898, allocations: 2.247 MB / 1.233 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00196/0.4917, allocations: 0.926 MB / 1.234 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009116/0.4927, allocations: 0.735 MB / 1.235 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.4928, allocations: 40 kB / 1.235 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00167/0.4945, allocations: 0.8066 MB / 1.236 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003479/0.4949, allocations: 290.9 kB / 1.236 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006573/0.4955, allocations: 0.5282 MB / 1.237 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001572/0.4971, allocations: 1.402 MB / 1.238 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.4971, allocations: 0 / 1.238 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4971, allocations: 0 / 1.238 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.4972, allocations: 0 / 1.238 GB, free: 11.81 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.00227/0.4994, allocations: 1.452 MB / 1.239 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.4995, allocations: 12.03 kB / 1.239 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007479/0.5002, allocations: 198.4 kB / 1.24 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.5014, allocations: 0.8023 MB / 1.24 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.5014, allocations: 45 kB / 1.24 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.082e-05/0.5015, allocations: 56 kB / 1.24 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.5027, allocations: 0.8238 MB / 1.241 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.5027, allocations: 7.938 kB / 1.241 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.436e-05/0.5028, allocations: 20 kB / 1.241 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.5028, allocations: 16 kB / 1.241 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009331/0.5038, allocations: 0.5656 MB / 1.242 GB, free: 7.621 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.003854/0.5076, allocations: 4.208 MB / 1.246 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007537/0.5084, allocations: 429.3 kB / 1.246 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004906/0.5089, allocations: 344.9 kB / 1.247 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003059/0.5092, allocations: 202.2 kB / 1.247 GB, free: 2.148 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005249/0.5097, allocations: 323.1 kB / 1.247 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002087/0.51, allocations: 39.59 kB / 1.247 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/0.51, allocations: 0 / 1.247 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.001414/0.5114, allocations: 0.7009 MB / 1.248 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/0.5115, allocations: 85.09 kB / 1.248 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5493/1.061, allocations: 1.15 MB / 1.249 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001164/1.061, allocations: 36.98 kB / 1.249 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004018/1.061, allocations: 488.5 kB / 1.25 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/1.062, allocations: 117.1 kB / 1.25 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/1.062, allocations: 113.3 kB / 1.25 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.832e-05/1.062, allocations: 325.5 kB / 1.25 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005119/1.062, allocations: 236.6 kB / 1.25 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006199/1.063, allocations: 0.5398 MB / 1.251 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009395/1.064, allocations: 0.678 MB / 1.252 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-06/1.064, allocations: 2.234 kB / 1.252 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001448/1.065, allocations: 0.77 MB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.186e-05/1.065, allocations: 38.78 kB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/1.065, allocations: 6.031 kB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/1.065, allocations: 10.94 kB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002233/1.068, allocations: 375.4 kB / 1.253 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002353/1.07, allocations: 6.085 MB / 1.259 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/1.071, allocations: 73.88 kB / 1.259 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-05/1.071, allocations: 24.67 kB / 1.259 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008751/1.072, allocations: 0.5165 MB / 1.259 GB, free: 179 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004843/1.073, allocations: 0.5088 MB / 1.26 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007331/1.073, allocations: 0.5932 MB / 1.26 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.438e-06/1.073, allocations: 1.75 kB / 1.26 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001156/1.075, allocations: 0.697 MB / 1.261 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/1.075, allocations: 37.16 kB / 1.261 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/1.075, allocations: 5.094 kB / 1.261 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/1.075, allocations: 8.688 kB / 1.261 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006374/1.075, allocations: 144.7 kB / 1.261 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/1.075, allocations: 17.72 kB / 1.261 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000831/1.076, allocations: 88.28 kB / 1.261 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/1.076, allocations: 22.53 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.000175/1.076, allocations: 230.2 kB / 1.262 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/1.076, allocations: 99.16 kB / 1.262 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009022/1.077, allocations: 0.5377 MB / 1.262 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/1.077, allocations: 9.188 kB / 1.262 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.077, allocations: 1.938 kB / 1.262 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/1.077, allocations: 9.859 kB / 1.262 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/1.079, allocations: 1.494 MB / 1.264 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/1.079, allocations: 2.875 kB / 1.264 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006636/1.08, allocations: 162.2 kB / 1.264 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/1.08, allocations: 2.688 kB / 1.264 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/1.08, allocations: 8.5 kB / 1.264 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/1.082, allocations: 6.022 MB / 1.27 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.082, allocations: 6.484 kB / 1.27 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008774/1.083, allocations: 0.6635 MB / 1.27 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003195/1.083, allocations: 221.7 kB / 1.271 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/1.083, allocations: 9.672 kB / 1.271 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000613/1.084, allocations: 63.3 kB / 1.271 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/1.084, allocations: 27.12 kB / 1.271 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/1.084, allocations: 11.17 kB / 1.271 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009964/1.085, allocations: 0.8237 MB / 1.271 GB, free: 171 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.31e-07/1.085, allocations: 0 / 1.271 GB, free: 171 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00108/1.086, allocations: 431.5 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.000412/1.086, allocations: 177.1 kB / 1.272 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003315/1.09, allocations: 1.169 MB / 1.273 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.09, allocations: 0 / 1.273 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000831/1.09, allocations: 316 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.003324/1.094, allocations: 0.6272 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.003047/1.097, allocations: 2.206 MB / 1.276 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007424/1.098, allocations: 1.182 MB / 1.277 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001214/1.099, allocations: 371.9 kB / 1.278 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/1.099, allocations: 67.14 kB / 1.278 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of SimCode: time 3.6e-07/1.099, allocations: 3.75 kB / 1.278 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.03447/1.134, allocations: 20.13 MB / 1.297 GB, free: 161.4 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe 2>&1)