Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009874/0.0009871, allocations: 99.55 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.001412/0.001413, 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.473/1.473, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.538/1.538, allocations: 251.9 MB / 0.51 GB, free: 4.801 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.0005009/0.0005013, allocations: 19.59 kB / 0.6241 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4914/0.4919, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.1485/0.6404, allocations: 140.6 MB / 0.8653 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.004844/0.6453, allocations: 3.633 MB / 0.8688 GB, free: 10.83 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004132/0.6458, allocations: 15.94 kB / 0.8688 GB, free: 10.81 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007437/0.6465, allocations: 242.9 kB / 0.8691 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001699/0.6482, allocations: 0.6999 MB / 0.8698 GB, free: 9.875 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.6496, allocations: 0.5097 MB / 0.8703 GB, free: 9.371 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002109/0.6517, allocations: 1.641 MB / 0.8719 GB, free: 7.73 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002676/0.6544, allocations: 2.327 MB / 0.8741 GB, free: 5.395 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001422/0.6558, allocations: 0.8566 MB / 0.875 GB, free: 4.535 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006692/0.6565, allocations: 0.6031 MB / 0.8756 GB, free: 3.93 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 9.639e-05/0.6566, allocations: 48 kB / 0.8756 GB, free: 3.883 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009899/0.6576, allocations: 455.3 kB / 0.876 GB, free: 3.438 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002868/0.6579, allocations: 319 kB / 0.8763 GB, free: 3.125 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0002414/0.6582, allocations: 253.1 kB / 0.8766 GB, free: 2.871 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.6592, allocations: 1.118 MB / 0.8777 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.6593, allocations: 0 / 0.8777 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6593, allocations: 0 / 0.8777 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.6593, allocations: 0 / 0.8777 GB, free: 1.75 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002434/0.6617, allocations: 1.499 MB / 0.8791 GB, free: 192 kB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.6618, allocations: 8.031 kB / 0.8791 GB, free: 184 kB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007642/0.6625, allocations: 206.4 kB / 0.8793 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001536/0.6641, allocations: 0.8716 MB / 0.8802 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.831e-05/0.6641, allocations: 45.31 kB / 0.8802 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.6642, allocations: 68 kB / 0.8803 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.6657, allocations: 0.9908 MB / 0.8813 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.6657, allocations: 4 kB / 0.8813 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.164e-05/0.6658, allocations: 24 kB / 0.8813 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.6658, allocations: 16 kB / 0.8813 GB, free: 13.83 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.667, allocations: 0.796 MB / 0.8821 GB, free: 13.03 MB / 0.7012 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.00493/0.6719, allocations: 4.816 MB / 0.8868 GB, free: 7.875 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002629/0.6746, allocations: 4.027 MB / 0.8907 GB, free: 3.023 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.36e-05/0.6747, allocations: 12.27 kB / 0.8907 GB, free: 3.012 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005544/0.6752, allocations: 337.8 kB / 0.8911 GB, free: 2.66 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003285/0.6756, allocations: 31.69 kB / 0.8911 GB, free: 2.629 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=35): time 1.963e-06/0.6756, allocations: 4 kB / 0.8911 GB, free: 2.625 MB / 0.7012 GB Notification: Performance of matching and sorting (n=35): time 0.005012/0.6806, allocations: 1.748 MB / 0.8928 GB, free: 0.8477 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/0.6807, allocations: 106.8 kB / 0.8929 GB, free: 0.7188 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.682, allocations: 1.181 MB / 0.894 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/0.6821, allocations: 41.7 kB / 0.8941 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004107/0.6825, allocations: 0.5083 MB / 0.8946 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.919e-05/0.6826, allocations: 122.2 kB / 0.8947 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.6826, allocations: 12 kB / 0.8947 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.6828, allocations: 329.9 kB / 0.895 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.6831, allocations: 213 kB / 0.8952 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005913/0.6837, allocations: 0.5293 MB / 0.8957 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004435/0.6842, allocations: 321.4 kB / 0.8961 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.6842, allocations: 0 / 0.8961 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002172/0.6864, allocations: 1.077 MB / 0.8971 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007243/0.6871, allocations: 2.154 MB / 0.8992 GB, free: 9.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.6871, allocations: 4 kB / 0.8992 GB, free: 9.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.6884, allocations: 371.2 kB / 0.8996 GB, free: 9.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.6887, allocations: 79.83 kB / 0.8996 GB, free: 9.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009727/0.6897, allocations: 1.052 MB / 0.9007 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008829/0.6906, allocations: 103.8 kB / 0.9008 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/0.6907, allocations: 27.98 kB / 0.9008 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/0.6907, allocations: 4 kB / 0.9008 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001355/0.692, allocations: 0.8023 MB / 0.9016 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.692, allocations: 4 kB / 0.9016 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005637/0.6926, allocations: 268.7 kB / 0.9018 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/0.6929, allocations: 75.89 kB / 0.9019 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003657/0.6966, allocations: 3.189 MB / 0.905 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008234/0.6974, allocations: 99.91 kB / 0.9051 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.6975, allocations: 24 kB / 0.9051 GB, free: 3.648 MB / 0.7169 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 22} Notification: Performance of prepare postOptimizeDAE: time 0.0004915/0.698, allocations: 471.9 kB / 0.9056 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.6981, allocations: 114.7 kB / 0.9057 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.6994, allocations: 0.798 MB / 0.9065 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.6995, allocations: 7.938 kB / 0.9065 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.6995, allocations: 0 / 0.9065 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.6995, allocations: 3.984 kB / 0.9065 GB, free: 2.242 MB / 0.7169 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 postOpt removeSimpleEquations (simulation): time 0.3429/1.042, allocations: 2.229 MB / 0.9087 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/1.042, allocations: 2.25 kB / 0.9087 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003226/1.043, allocations: 53.05 kB / 0.9087 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005475/1.043, allocations: 212.4 kB / 0.9089 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/1.043, allocations: 14.38 kB / 0.9089 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000844/1.044, allocations: 0.8894 MB / 0.9098 GB, free: 179.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.044, allocations: 3.25 kB / 0.9098 GB, free: 179.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/1.046, allocations: 0.978 MB / 0.9108 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005425/1.046, allocations: 240.1 kB / 0.911 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/1.047, allocations: 9 kB / 0.911 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007448/1.047, allocations: 77 kB / 0.9111 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/1.047, allocations: 40.42 kB / 0.9111 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/1.048, allocations: 15.84 kB / 0.9111 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001308/1.049, allocations: 0.8281 MB / 0.9119 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.049, allocations: 0 / 0.9119 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001654/1.05, allocations: 0.5123 MB / 0.9124 GB, free: 179.1 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_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 (22): * 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): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004407/1.051, allocations: 190.9 kB / 0.9126 GB, free: 179 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002109/1.053, allocations: 1.13 MB / 0.9137 GB, free: 178.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.053, allocations: 0.7812 kB / 0.9137 GB, free: 178.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005052/1.054, allocations: 259 kB / 0.914 GB, free: 178.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003447/1.057, allocations: 0.6425 MB / 0.9146 GB, free: 178.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/1.06, allocations: 2.099 MB / 0.9167 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000912/1.061, allocations: 1.236 MB / 0.9179 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00124/1.063, allocations: 327.5 kB / 0.9182 GB, free: 176.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/1.063, allocations: 66.09 kB / 0.9182 GB, free: 176.5 MB / 0.7169 GB Notification: Performance of SimCode: time 1.022e-06/1.063, allocations: 4.562 kB / 0.9182 GB, free: 176.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.03133/1.094, allocations: 21.14 MB / 0.9389 GB, free: 160.8 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1) Environment - environmentSimulation: