Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001355/0.001355, 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.00148/0.00148, allocations: 191.8 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.531/1.531, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.875/2.875, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 67.11 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3291, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.1703/0.4994, allocations: 159.4 MB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003219/0.5027, allocations: 1.782 MB / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000405/0.5031, allocations: 15.88 kB / 1.225 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006211/0.5038, allocations: 131.2 kB / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001456/0.5053, allocations: 0.4941 MB / 1.226 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.5064, allocations: 349.9 kB / 1.226 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003423/0.5099, allocations: 3.503 MB / 1.229 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002805/0.5127, allocations: 2.231 MB / 1.231 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001835/0.5146, allocations: 0.9181 MB / 1.232 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.5157, allocations: 0.7389 MB / 1.233 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002727/0.516, allocations: 44 kB / 1.233 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001885/0.5179, allocations: 0.8029 MB / 1.234 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005138/0.5185, allocations: 290.9 kB / 1.234 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.5195, allocations: 0.5167 MB / 1.235 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001999/0.5215, allocations: 1.413 MB / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5215, allocations: 0 / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5215, allocations: 0 / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.939e-05/0.5216, allocations: 0 / 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.002394/0.524, allocations: 1.439 MB / 1.237 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.524, allocations: 8.031 kB / 1.237 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007929/0.5248, allocations: 186.5 kB / 1.238 GB, free: 12 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.526, allocations: 0.806 MB / 1.238 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.062e-05/0.526, allocations: 45 kB / 1.238 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.592e-05/0.5261, allocations: 64 kB / 1.239 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/0.5274, allocations: 0.8276 MB / 1.239 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.5274, allocations: 0 / 1.239 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.298e-05/0.5274, allocations: 28 kB / 1.239 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.5275, allocations: 12 kB / 1.239 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009564/0.5284, allocations: 0.5618 MB / 1.24 GB, free: 9.527 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.003563/0.532, allocations: 4.219 MB / 1.244 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007635/0.5328, allocations: 442.7 kB / 1.244 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004859/0.5333, allocations: 345.1 kB / 1.245 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002945/0.5336, allocations: 198.2 kB / 1.245 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005194/0.5341, allocations: 315.2 kB / 1.245 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000205/0.5343, allocations: 35.62 kB / 1.245 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.234e-06/0.5343, allocations: 0 / 1.245 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.005122/0.5395, allocations: 1.564 MB / 1.247 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.5395, allocations: 89.11 kB / 1.247 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.5408, allocations: 1.151 MB / 1.248 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.267e-05/0.5409, allocations: 37.7 kB / 1.248 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003818/0.5413, allocations: 484.4 kB / 1.249 GB, free: 292 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.754e-05/0.5414, allocations: 114.4 kB / 1.249 GB, free: 176 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001755/0.5416, allocations: 114.1 kB / 1.249 GB, free: 56 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.5058/1.047, allocations: 326 kB / 1.249 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006609/1.048, allocations: 234.4 kB / 1.249 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000705/1.049, allocations: 0.5436 MB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/1.05, allocations: 0.68 MB / 1.251 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/1.05, allocations: 1.5 kB / 1.251 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002883/1.053, allocations: 1.101 MB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/1.053, allocations: 40.44 kB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/1.053, allocations: 7.375 kB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001643/1.054, allocations: 428.4 kB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/1.055, allocations: 86.8 kB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/1.056, allocations: 1.099 MB / 1.253 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009411/1.057, allocations: 82.12 kB / 1.253 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.198e-05/1.057, allocations: 23.88 kB / 1.253 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007851/1.058, allocations: 0.521 MB / 1.254 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004743/1.059, allocations: 0.5058 MB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007516/1.059, allocations: 0.5965 MB / 1.255 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.198e-06/1.059, allocations: 2.094 kB / 1.255 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001679/1.061, allocations: 0.8979 MB / 1.256 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/1.061, allocations: 40.61 kB / 1.256 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/1.061, allocations: 5.406 kB / 1.256 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005635/1.062, allocations: 236.2 kB / 1.256 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/1.062, allocations: 88.91 kB / 1.256 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003137/1.065, allocations: 3.041 MB / 1.259 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008623/1.066, allocations: 89.92 kB / 1.259 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/1.066, allocations: 23.36 kB / 1.259 GB, free: 182.1 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.000167/1.066, allocations: 218 kB / 1.259 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/1.066, allocations: 102.5 kB / 1.259 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/1.068, allocations: 0.782 MB / 1.26 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/1.068, allocations: 3.219 kB / 1.26 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/1.068, allocations: 0.75 kB / 1.26 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/1.068, allocations: 8.578 kB / 1.26 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/1.07, allocations: 1.72 MB / 1.262 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/1.07, allocations: 3.281 kB / 1.262 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/1.07, allocations: 47.34 kB / 1.262 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005111/1.071, allocations: 277.7 kB / 1.262 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/1.071, allocations: 9.859 kB / 1.262 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009025/1.072, allocations: 1.048 MB / 1.263 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/1.072, allocations: 1.406 kB / 1.263 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/1.073, allocations: 0.8917 MB / 1.264 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003/1.073, allocations: 223.3 kB / 1.264 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/1.074, allocations: 7.656 kB / 1.264 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005739/1.074, allocations: 59.17 kB / 1.264 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.903e-05/1.074, allocations: 35.67 kB / 1.264 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/1.074, allocations: 15.58 kB / 1.264 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001025/1.075, allocations: 0.8115 MB / 1.265 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/1.075, allocations: 3.5 kB / 1.265 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001289/1.077, allocations: 466 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.0003886/1.077, allocations: 172.4 kB / 1.266 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002802/1.08, allocations: 1.249 MB / 1.267 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.08, allocations: 8.062 kB / 1.267 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007316/1.081, allocations: 308.1 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.003056/1.084, allocations: 0.6313 MB / 1.268 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/1.087, allocations: 2.164 MB / 1.27 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007487/1.088, allocations: 1.187 MB / 1.271 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0012/1.089, allocations: 311.3 kB / 1.272 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/1.089, allocations: 66.48 kB / 1.272 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/1.089, allocations: 0 / 1.272 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.03765/1.127, allocations: 21.11 MB / 1.292 GB, free: 168.7 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)