Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.ParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00233/0.00233, allocations: 189.9 kB / 16.25 MB, free: 6.625 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.423/1.423, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.88/2.88, allocations: 472.6 MB / 0.7448 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 60.19 kB / 0.9115 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3095, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.1691/0.4787, allocations: 159.4 MB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003504/0.4822, allocations: 1.742 MB / 1.225 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005351/0.4828, allocations: 7.938 kB / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007646/0.4836, allocations: 151.2 kB / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001624/0.4853, allocations: 0.4902 MB / 1.226 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.4867, allocations: 350.9 kB / 1.226 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00308/0.4898, allocations: 2.578 MB / 1.229 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003012/0.4928, allocations: 2.395 MB / 1.231 GB, free: 3.047 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001971/0.4948, allocations: 1.066 MB / 1.232 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.496, allocations: 0.7585 MB / 1.233 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000176/0.4961, allocations: 56 kB / 1.233 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001463/0.4976, allocations: 0.76 MB / 1.233 GB, free: 408 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003784/0.498, allocations: 326.8 kB / 1.234 GB, free: 80 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007827/0.4988, allocations: 0.5441 MB / 1.234 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001757/0.5006, allocations: 1.429 MB / 1.236 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5006, allocations: 4 kB / 1.236 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5006, allocations: 0 / 1.236 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.844e-05/0.5006, allocations: 0 / 1.236 GB, free: 14.09 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.002387/0.503, allocations: 1.451 MB / 1.237 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.5031, allocations: 8.031 kB / 1.237 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007983/0.5039, allocations: 190.5 kB / 1.237 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.5051, allocations: 0.81 MB / 1.238 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.238e-05/0.5052, allocations: 41 kB / 1.238 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.066e-05/0.5053, allocations: 60 kB / 1.238 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.5065, allocations: 0.8238 MB / 1.239 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.5066, allocations: 3.938 kB / 1.239 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.352e-05/0.5066, allocations: 24 kB / 1.239 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.5067, allocations: 15.94 kB / 1.239 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000936/0.5076, allocations: 0.5618 MB / 1.24 GB, free: 9.918 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.003948/0.5116, allocations: 4.215 MB / 1.244 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007317/0.5123, allocations: 440.1 kB / 1.244 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004731/0.5128, allocations: 342.4 kB / 1.244 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003008/0.5131, allocations: 202.2 kB / 1.245 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005057/0.5136, allocations: 323.1 kB / 1.245 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002541/0.5139, allocations: 27.69 kB / 1.245 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 3.987e-06/0.5139, allocations: 3.984 kB / 1.245 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.005011/0.5189, allocations: 1.561 MB / 1.247 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.519, allocations: 85.11 kB / 1.247 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/0.5204, allocations: 1.151 MB / 1.248 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.974e-05/0.5204, allocations: 37.7 kB / 1.248 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003843/0.5208, allocations: 488.4 kB / 1.248 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.741e-05/0.5209, allocations: 114.4 kB / 1.248 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.5211, allocations: 118.1 kB / 1.248 GB, free: 452 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.5212, allocations: 326 kB / 1.249 GB, free: 120 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.5374/1.059, allocations: 230.6 kB / 1.249 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006458/1.059, allocations: 0.5362 MB / 1.25 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008835/1.06, allocations: 0.6853 MB / 1.25 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/1.06, allocations: 1.562 kB / 1.25 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002546/1.063, allocations: 1.097 MB / 1.251 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/1.063, allocations: 39.06 kB / 1.251 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/1.063, allocations: 9.219 kB / 1.251 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001563/1.064, allocations: 424.9 kB / 1.252 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003568/1.065, allocations: 91.34 kB / 1.252 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/1.066, allocations: 1.1 MB / 1.253 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008887/1.067, allocations: 76.67 kB / 1.253 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.669e-05/1.067, allocations: 25.44 kB / 1.253 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007014/1.068, allocations: 0.517 MB / 1.253 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000455/1.068, allocations: 0.5101 MB / 1.254 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006862/1.069, allocations: 0.5977 MB / 1.255 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.328e-06/1.069, allocations: 1.812 kB / 1.255 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.00163/1.071, allocations: 0.905 MB / 1.255 GB, free: 184 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/1.071, allocations: 34.3 kB / 1.255 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/1.071, allocations: 6 kB / 1.255 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005526/1.071, allocations: 233.3 kB / 1.256 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/1.072, allocations: 90.61 kB / 1.256 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003052/1.075, allocations: 3.295 MB / 1.259 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008345/1.075, allocations: 86.56 kB / 1.259 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.743e-05/1.075, allocations: 26.67 kB / 1.259 GB, free: 182.4 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_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001662/1.076, allocations: 220.2 kB / 1.259 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/1.076, allocations: 103.1 kB / 1.259 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/1.077, allocations: 0.7825 MB / 1.26 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/1.077, allocations: 2.469 kB / 1.26 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/1.077, allocations: 0.5625 kB / 1.26 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/1.077, allocations: 4.141 kB / 1.26 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/1.079, allocations: 1.727 MB / 1.262 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.079, allocations: 4.203 kB / 1.262 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/1.08, allocations: 46.12 kB / 1.262 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004852/1.08, allocations: 277.7 kB / 1.262 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/1.08, allocations: 10.33 kB / 1.262 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008622/1.081, allocations: 1.038 MB / 1.263 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.081, allocations: 6.844 kB / 1.263 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/1.082, allocations: 0.8922 MB / 1.264 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002832/1.082, allocations: 226.5 kB / 1.264 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/1.083, allocations: 9.984 kB / 1.264 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005733/1.083, allocations: 50.75 kB / 1.264 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.165e-05/1.083, allocations: 46.03 kB / 1.264 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/1.083, allocations: 9.125 kB / 1.264 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009279/1.084, allocations: 0.8144 MB / 1.265 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.084, allocations: 0 / 1.265 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001286/1.086, allocations: 468.7 kB / 1.266 GB, free: 179.4 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004262/1.086, allocations: 172.8 kB / 1.266 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002951/1.089, allocations: 1.279 MB / 1.267 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/1.089, allocations: 0.5938 kB / 1.267 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000818/1.09, allocations: 325.5 kB / 1.267 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/1.092, allocations: 497.9 kB / 1.268 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003049/1.095, allocations: 2.169 MB / 1.27 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007765/1.096, allocations: 1.188 MB / 1.271 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001195/1.097, allocations: 330.1 kB / 1.271 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/1.097, allocations: 61.81 kB / 1.271 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of SimCode: time 6.22e-07/1.097, allocations: 0 / 1.271 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.0326/1.13, allocations: 20.59 MB / 1.292 GB, free: 169 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.makefile (rm -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & ./Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)