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.00122/0.00122, 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.001489/0.001489, allocations: 195.4 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.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.775/2.775, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 60.55 kB / 0.9113 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3182, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.1611/0.4793, allocations: 159.4 MB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003129/0.4825, allocations: 1.782 MB / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002618/0.4828, allocations: 11.94 kB / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005277/0.4834, allocations: 127.2 kB / 1.225 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001175/0.4845, allocations: 0.5014 MB / 1.226 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009426/0.4855, allocations: 350.7 kB / 1.226 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003326/0.4888, allocations: 3.503 MB / 1.229 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002607/0.4915, allocations: 2.235 MB / 1.231 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00161/0.4931, allocations: 0.9142 MB / 1.232 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008264/0.4939, allocations: 0.7312 MB / 1.233 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.629e-05/0.494, allocations: 44 kB / 1.233 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.4955, allocations: 0.8029 MB / 1.234 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002892/0.4958, allocations: 294.8 kB / 1.234 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006034/0.4964, allocations: 0.5206 MB / 1.235 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.4979, allocations: 1.402 MB / 1.236 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4979, allocations: 0 / 1.236 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.22e-07/0.4979, allocations: 0 / 1.236 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.4979, allocations: 4 kB / 1.236 GB, free: 13.7 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.002211/0.5001, allocations: 1.451 MB / 1.237 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.5002, allocations: 8.031 kB / 1.237 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007725/0.501, allocations: 178.5 kB / 1.238 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.5021, allocations: 0.8138 MB / 1.238 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.181e-05/0.5022, allocations: 48.98 kB / 1.238 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.884e-05/0.5023, allocations: 60 kB / 1.239 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.5035, allocations: 0.8238 MB / 1.239 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.5035, allocations: 3.938 kB / 1.239 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.595e-05/0.5036, allocations: 24 kB / 1.239 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.5036, allocations: 15.94 kB / 1.239 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000983/0.5046, allocations: 0.5696 MB / 1.24 GB, free: 9.516 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.004132/0.5088, allocations: 4.207 MB / 1.244 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007787/0.5096, allocations: 437 kB / 1.244 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005306/0.5101, allocations: 350.8 kB / 1.245 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003678/0.5105, allocations: 202.2 kB / 1.245 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005329/0.511, allocations: 315.1 kB / 1.245 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002423/0.5113, allocations: 35.78 kB / 1.245 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/0.5113, allocations: 3.938 kB / 1.245 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.005231/0.5165, allocations: 1.56 MB / 1.247 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.5166, allocations: 85.11 kB / 1.247 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001449/0.5181, allocations: 1.151 MB / 1.248 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.062e-05/0.5181, allocations: 41.7 kB / 1.248 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/0.5185, allocations: 488.4 kB / 1.249 GB, free: 284 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.268e-05/0.5186, allocations: 114.4 kB / 1.249 GB, free: 168 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.5188, allocations: 110.2 kB / 1.249 GB, free: 52 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.534/1.053, allocations: 325.7 kB / 1.249 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/1.054, allocations: 229.4 kB / 1.249 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/1.055, allocations: 0.5425 MB / 1.25 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/1.057, allocations: 0.6786 MB / 1.25 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/1.057, allocations: 1.531 kB / 1.25 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.004092/1.061, allocations: 1.105 MB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.882e-05/1.061, allocations: 34.62 kB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/1.061, allocations: 8.453 kB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002272/1.063, allocations: 427.8 kB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005387/1.064, allocations: 92.41 kB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/1.066, allocations: 1.091 MB / 1.253 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/1.067, allocations: 88.53 kB / 1.253 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/1.068, allocations: 23.47 kB / 1.253 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001192/1.069, allocations: 0.5167 MB / 1.254 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00075/1.07, allocations: 0.5072 MB / 1.254 GB, free: 184 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001107/1.071, allocations: 0.5978 MB / 1.255 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.374e-06/1.071, allocations: 1.688 kB / 1.255 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.002388/1.073, allocations: 0.9046 MB / 1.256 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/1.073, allocations: 33.55 kB / 1.256 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.073, allocations: 8.344 kB / 1.256 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007645/1.074, allocations: 234.8 kB / 1.256 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004435/1.074, allocations: 91.02 kB / 1.256 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004462/1.079, allocations: 3.049 MB / 1.259 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/1.08, allocations: 91.83 kB / 1.259 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.887e-05/1.08, allocations: 24.78 kB / 1.259 GB, free: 182.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_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.0002254/1.081, allocations: 215.2 kB / 1.259 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002386/1.081, allocations: 100.8 kB / 1.259 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/1.083, allocations: 0.7874 MB / 1.26 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/1.083, allocations: 2.625 kB / 1.26 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.083, allocations: 0.7031 kB / 1.26 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/1.083, allocations: 4.359 kB / 1.26 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003555/1.086, allocations: 1.722 MB / 1.262 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/1.086, allocations: 2.75 kB / 1.262 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/1.087, allocations: 47 kB / 1.262 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007644/1.087, allocations: 271.1 kB / 1.262 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.672e-05/1.088, allocations: 10.55 kB / 1.262 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001411/1.089, allocations: 1.042 MB / 1.263 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/1.089, allocations: 6.812 kB / 1.263 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/1.091, allocations: 0.8952 MB / 1.264 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000592/1.092, allocations: 223.1 kB / 1.264 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002194/1.092, allocations: 12.72 kB / 1.264 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009407/1.093, allocations: 59.14 kB / 1.264 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/1.093, allocations: 31.39 kB / 1.264 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/1.093, allocations: 10.77 kB / 1.264 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001775/1.095, allocations: 0.8162 MB / 1.265 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.01e-07/1.095, allocations: 0 / 1.265 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002152/1.097, allocations: 460.4 kB / 1.266 GB, free: 179.5 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.0005136/1.097, allocations: 184.6 kB / 1.266 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002858/1.1, allocations: 1.247 MB / 1.267 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.1, allocations: 0 / 1.267 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007638/1.101, allocations: 311.7 kB / 1.267 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003239/1.104, allocations: 0.6276 MB / 1.268 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003339/1.108, allocations: 2.17 MB / 1.27 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008697/1.109, allocations: 1.182 MB / 1.271 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001323/1.11, allocations: 313.8 kB / 1.272 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000232/1.11, allocations: 66.66 kB / 1.272 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of SimCode: time 7.72e-07/1.11, allocations: 0 / 1.272 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.03821/1.148, allocations: 21.1 MB / 1.292 GB, free: 168.7 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)