Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.0009658/0.0009659, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 205.4 MB / 222.1 MB, free: 5.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.63/1.63, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004858/0.0004858, allocations: 18.88 kB / 0.6735 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.237, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.6188/0.8559, allocations: 135.7 MB / 0.9196 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002533/0.8585, allocations: 1.656 MB / 0.9213 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002628/0.8588, allocations: 11.84 kB / 0.9213 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005926/0.8594, allocations: 186.2 kB / 0.9214 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001141/0.8605, allocations: 498 kB / 0.9219 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.8617, allocations: 411.5 kB / 0.9223 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001736/0.8635, allocations: 1.494 MB / 0.9238 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008773/0.8644, allocations: 0.7007 MB / 0.9245 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.8655, allocations: 0.7001 MB / 0.9251 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005492/0.866, allocations: 488.4 kB / 0.9256 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.328e-05/0.8661, allocations: 34.44 kB / 0.9256 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009323/0.867, allocations: 419.1 kB / 0.926 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002614/0.8673, allocations: 256 kB / 0.9263 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002024/0.8675, allocations: 233.2 kB / 0.9265 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.8685, allocations: 0.9758 MB / 0.9275 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.8686, allocations: 0 / 0.9275 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8686, allocations: 0 / 0.9275 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.718e-05/0.8686, allocations: 0 / 0.9275 GB, free: 5.594 MB / 0.7169 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.002265/0.8709, allocations: 1.28 MB / 0.9287 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.8709, allocations: 12.34 kB / 0.9287 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006868/0.8716, allocations: 183 kB / 0.9289 GB, free: 20.74 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.873, allocations: 0.8007 MB / 0.9297 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.174e-05/0.8731, allocations: 46.66 kB / 0.9297 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.432e-05/0.8732, allocations: 62.62 kB / 0.9298 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/0.8743, allocations: 0.7931 MB / 0.9306 GB, free: 20.17 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.8744, allocations: 3.703 kB / 0.9306 GB, free: 20.17 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.879e-05/0.8744, allocations: 25.44 kB / 0.9306 GB, free: 20.17 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.8744, allocations: 13.47 kB / 0.9306 GB, free: 20.17 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.8754, allocations: 0.5431 MB / 0.9311 GB, free: 20.16 MB / 0.7325 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.004506/0.88, allocations: 4.598 MB / 0.9356 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008492/0.8808, allocations: 442.9 kB / 0.936 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.258e-05/0.8809, allocations: 10.52 kB / 0.936 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005154/0.8814, allocations: 297.7 kB / 0.9363 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 2.845e-06/0.8814, allocations: 3.984 kB / 0.9363 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31): time 0.001611/0.8831, allocations: 0.6478 MB / 0.937 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.526e-05/0.8832, allocations: 107.2 kB / 0.9371 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002156/0.8853, allocations: 1.112 MB / 0.9382 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.14e-05/0.8854, allocations: 36.42 kB / 0.9382 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005337/0.8859, allocations: 495.6 kB / 0.9387 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.707e-05/0.8861, allocations: 110.2 kB / 0.9388 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/0.8861, allocations: 8.188 kB / 0.9388 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.8862, allocations: 324.3 kB / 0.9391 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/0.8866, allocations: 189 kB / 0.9393 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005627/0.8872, allocations: 0.4968 MB / 0.9397 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005035/0.8877, allocations: 298.5 kB / 0.94 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.8877, allocations: 2.438 kB / 0.94 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00115/0.8889, allocations: 0.6782 MB / 0.9407 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008203/0.8897, allocations: 2.132 MB / 0.9428 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.8897, allocations: 5.594 kB / 0.9428 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.8897, allocations: 7.969 kB / 0.9428 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001882/0.8916, allocations: 387.2 kB / 0.9432 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003591/0.8952, allocations: 6.087 MB / 0.9491 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009308/0.8962, allocations: 108.6 kB / 0.9492 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.668e-05/0.8962, allocations: 24 kB / 0.9492 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.8963, allocations: 10.94 kB / 0.9492 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009013/0.8972, allocations: 0.5428 MB / 0.9498 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.8972, allocations: 5.812 kB / 0.9498 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.8972, allocations: 7.625 kB / 0.9498 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005479/0.8978, allocations: 162.2 kB / 0.9499 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.8978, allocations: 14.11 kB / 0.95 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006454/0.8984, allocations: 96.53 kB / 0.95 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.658e-05/0.8985, allocations: 21.94 kB / 0.9501 GB, free: 6.902 MB / 0.7325 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 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006885/0.8992, allocations: 475.2 kB / 0.9505 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.8993, allocations: 103 kB / 0.9506 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008133/0.9001, allocations: 478.2 kB / 0.9511 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.9002, allocations: 4.375 kB / 0.9511 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.9002, allocations: 5.438 kB / 0.9511 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.9002, allocations: 3.094 kB / 0.9511 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.9018, allocations: 1.098 MB / 0.9522 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.9018, allocations: 1.469 kB / 0.9522 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000595/0.9024, allocations: 155.1 kB / 0.9523 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.9024, allocations: 6.859 kB / 0.9523 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.9024, allocations: 7.156 kB / 0.9523 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003012/0.9055, allocations: 6.025 MB / 0.9582 GB, free: 16.28 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.9055, allocations: 2.875 kB / 0.9582 GB, free: 16.28 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000886/0.9064, allocations: 0.6325 MB / 0.9588 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003914/0.9068, allocations: 229.3 kB / 0.959 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.9069, allocations: 8.5 kB / 0.9591 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004419/0.9073, allocations: 51.94 kB / 0.9591 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/0.9074, allocations: 35.98 kB / 0.9591 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.9075, allocations: 10.97 kB / 0.9591 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001104/0.9086, allocations: 0.7842 MB / 0.9599 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9086, allocations: 0 / 0.9599 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001331/0.9099, allocations: 412.2 kB / 0.9603 GB, free: 15.66 MB / 0.7481 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 (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004172/0.9103, allocations: 179.7 kB / 0.9605 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002955/0.9133, allocations: 1.099 MB / 0.9616 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.9133, allocations: 1.188 kB / 0.9616 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008012/0.9141, allocations: 298.7 kB / 0.9618 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/0.916, allocations: 470.1 kB / 0.9623 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/0.9189, allocations: 2.009 MB / 0.9642 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007789/0.9197, allocations: 1.2 MB / 0.9654 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009735/0.9207, allocations: 370.3 kB / 0.9658 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.9208, allocations: 66.09 kB / 0.9658 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of SimCode: time 4.61e-07/0.9208, allocations: 0 / 0.9658 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of Templates: time 0.02945/0.9503, allocations: 16.75 MB / 0.9822 GB, free: 7.562 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) Environment - environmentSimulation: