Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.000968/0.000968, allocations: 100.1 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.0009307/0.0009307, allocations: 177.3 kB / 15.95 MB, free: 216 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.416/1.416, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.622/1.622, allocations: 251.9 MB / 0.51 GB, free: 4.852 MB / 414.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.000968/0.0009681, allocations: 12 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4777/0.4787, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1572/0.6359, allocations: 135.8 MB / 0.8606 GB, free: 3.277 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.002791/0.6388, allocations: 1.722 MB / 0.8623 GB, free: 1.555 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002508/0.639, allocations: 11.88 kB / 0.8623 GB, free: 1.543 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005782/0.6396, allocations: 179.2 kB / 0.8625 GB, free: 1.367 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001234/0.6409, allocations: 0.5063 MB / 0.863 GB, free: 0.8594 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.6421, allocations: 445.5 kB / 0.8634 GB, free: 440 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001814/0.6439, allocations: 1.493 MB / 0.8648 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008655/0.6448, allocations: 0.7014 MB / 0.8655 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.6458, allocations: 0.689 MB / 0.8662 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005368/0.6463, allocations: 497.8 kB / 0.8667 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 7.617e-05/0.6464, allocations: 39.98 kB / 0.8667 GB, free: 13 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008817/0.6473, allocations: 415.4 kB / 0.8671 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002513/0.6476, allocations: 259.1 kB / 0.8674 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.6478, allocations: 233.1 kB / 0.8676 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0009358/0.6487, allocations: 0.9587 MB / 0.8685 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.6488, allocations: 0 / 0.8685 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6488, allocations: 4 kB / 0.8685 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.49e-05/0.6488, allocations: 4 kB / 0.8685 GB, free: 11.14 MB / 0.6856 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.002094/0.6509, allocations: 1.284 MB / 0.8698 GB, free: 9.793 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.6509, allocations: 8.031 kB / 0.8698 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007349/0.6517, allocations: 182.5 kB / 0.87 GB, free: 9.605 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.6531, allocations: 0.7963 MB / 0.8707 GB, free: 8.754 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.563e-05/0.6532, allocations: 48.95 kB / 0.8708 GB, free: 8.707 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.419e-05/0.6533, allocations: 56 kB / 0.8708 GB, free: 8.652 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.6544, allocations: 0.8003 MB / 0.8716 GB, free: 7.773 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.6545, allocations: 0 / 0.8716 GB, free: 7.773 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.287e-05/0.6545, allocations: 24 kB / 0.8716 GB, free: 7.75 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.6545, allocations: 12 kB / 0.8717 GB, free: 7.738 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009008/0.6555, allocations: 0.55 MB / 0.8722 GB, free: 7.188 MB / 0.6856 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.004475/0.6599, allocations: 4.614 MB / 0.8767 GB, free: 2.191 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007093/0.6607, allocations: 430.3 kB / 0.8771 GB, free: 1.762 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 5.803e-05/0.6607, allocations: 15.98 kB / 0.8771 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004791/0.6612, allocations: 298.2 kB / 0.8774 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=31): time 2.555e-06/0.6612, allocations: 0 / 0.8774 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of matching and sorting (n=31): time 0.001341/0.6626, allocations: 0.6444 MB / 0.878 GB, free: 0.7812 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.6627, allocations: 106.8 kB / 0.8781 GB, free: 0.6523 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.6639, allocations: 1.11 MB / 0.8792 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.664, allocations: 37.7 kB / 0.8793 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003894/0.6644, allocations: 0.4922 MB / 0.8797 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 8.159e-05/0.6645, allocations: 106.5 kB / 0.8798 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/0.6645, allocations: 4 kB / 0.8798 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.6646, allocations: 326 kB / 0.8802 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003317/0.665, allocations: 184.7 kB / 0.8803 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005506/0.6655, allocations: 0.5005 MB / 0.8808 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004441/0.666, allocations: 287.8 kB / 0.8811 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.666, allocations: 4 kB / 0.8811 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001052/0.6671, allocations: 0.6818 MB / 0.8818 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008024/0.6679, allocations: 2.132 MB / 0.8838 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.6679, allocations: 7.953 kB / 0.8839 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.6679, allocations: 8.219 kB / 0.8839 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/0.6698, allocations: 387.4 kB / 0.8842 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003541/0.6734, allocations: 6.095 MB / 0.8902 GB, free: 3.727 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008344/0.6742, allocations: 99.56 kB / 0.8903 GB, free: 3.629 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-05/0.6743, allocations: 27.98 kB / 0.8903 GB, free: 3.602 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.6743, allocations: 4 kB / 0.8903 GB, free: 3.598 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008803/0.6752, allocations: 0.5481 MB / 0.8908 GB, free: 3.043 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.6752, allocations: 7.953 kB / 0.8908 GB, free: 3.035 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.6752, allocations: 8 kB / 0.8909 GB, free: 3.027 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005544/0.6758, allocations: 159.9 kB / 0.891 GB, free: 2.871 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.6758, allocations: 11.94 kB / 0.891 GB, free: 2.859 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000632/0.6764, allocations: 103.5 kB / 0.8911 GB, free: 2.758 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/0.6765, allocations: 20 kB / 0.8911 GB, free: 2.738 MB / 0.7012 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.0005823/0.6771, allocations: 475.8 kB / 0.8916 GB, free: 2.266 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.6772, allocations: 102.7 kB / 0.8917 GB, free: 2.164 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008403/0.678, allocations: 474.4 kB / 0.8921 GB, free: 1.691 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.6781, allocations: 4 kB / 0.8921 GB, free: 1.688 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.6781, allocations: 7.984 kB / 0.8922 GB, free: 1.68 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.6781, allocations: 3.938 kB / 0.8922 GB, free: 1.676 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001517/0.6796, allocations: 1.102 MB / 0.8932 GB, free: 0.4961 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.6796, allocations: 0 / 0.8932 GB, free: 0.4961 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005896/0.6802, allocations: 152 kB / 0.8934 GB, free: 356 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.6802, allocations: 4 kB / 0.8934 GB, free: 352 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.6803, allocations: 11.98 kB / 0.8934 GB, free: 340 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003141/0.6834, allocations: 6.021 MB / 0.8993 GB, free: 10.08 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.6834, allocations: 3.984 kB / 0.8993 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008816/0.6843, allocations: 0.6287 MB / 0.8999 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003738/0.6847, allocations: 223.7 kB / 0.9001 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.6848, allocations: 15.98 kB / 0.9001 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004421/0.6853, allocations: 47.95 kB / 0.9002 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.6854, allocations: 27.95 kB / 0.9002 GB, free: 9.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.6855, allocations: 16 kB / 0.9002 GB, free: 9.023 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001013/0.6865, allocations: 0.7836 MB / 0.901 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6865, allocations: 0 / 0.901 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00118/0.6877, allocations: 411.4 kB / 0.9014 GB, free: 7.828 MB / 0.7169 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.0004719/0.6882, allocations: 190.1 kB / 0.9015 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003038/0.6912, allocations: 1.097 MB / 0.9026 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.6912, allocations: 0 / 0.9026 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008069/0.692, allocations: 301.2 kB / 0.9029 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/0.6939, allocations: 464.7 kB / 0.9033 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/0.697, allocations: 2.017 MB / 0.9053 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008111/0.6978, allocations: 1.204 MB / 0.9065 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001051/0.6988, allocations: 371.5 kB / 0.9068 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.699, allocations: 59.44 kB / 0.9069 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of SimCode: time 7.51e-07/0.699, allocations: 0 / 0.9069 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of Templates: time 0.365/1.064, allocations: 16.74 MB / 0.9233 GB, free: 174.7 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1) Environment - environmentSimulation: