Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.583/1.583, allocations: 288.3 MB / 303.2 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 185 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.4 MB / 0.6306 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001002/0.001003, allocations: 98.2 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000427/0.000427, allocations: 16.09 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2495, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.6596/0.9091, allocations: 140.5 MB / 1.117 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.00575/0.9149, allocations: 3.586 MB / 1.12 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006016/0.9156, allocations: 14.59 kB / 1.12 GB, free: 1.316 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009953/0.9166, allocations: 238.4 kB / 1.12 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002434/0.919, allocations: 0.6872 MB / 1.121 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.9208, allocations: 486.9 kB / 1.121 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002206/0.923, allocations: 1.649 MB / 1.123 GB, free: 1.152 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003178/0.9262, allocations: 2.316 MB / 1.125 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002003/0.9282, allocations: 0.8613 MB / 1.126 GB, free: 0.7578 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000732/0.9289, allocations: 0.6007 MB / 1.127 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.809e-05/0.929, allocations: 49.22 kB / 1.127 GB, free: 0.6367 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.9303, allocations: 461.5 kB / 1.127 GB, free: 0.6211 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002701/0.9306, allocations: 307.7 kB / 1.128 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003598/0.9309, allocations: 246.6 kB / 1.128 GB, free: 16.51 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.9322, allocations: 1.131 MB / 1.129 GB, free: 16.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.9322, allocations: 0 / 1.129 GB, free: 16.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.574e-06/0.9322, allocations: 0 / 1.129 GB, free: 16.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.448e-05/0.9322, allocations: 0 / 1.129 GB, free: 16.41 MB / 0.698 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.002774/0.935, allocations: 1.5 MB / 1.13 GB, free: 15.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.9351, allocations: 14.41 kB / 1.13 GB, free: 15.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008077/0.9359, allocations: 206.3 kB / 1.131 GB, free: 15.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/0.9376, allocations: 0.8711 MB / 1.131 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.753e-05/0.9377, allocations: 46.44 kB / 1.131 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.757e-05/0.9378, allocations: 66.64 kB / 1.132 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.9394, allocations: 0.9825 MB / 1.132 GB, free: 14.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.9394, allocations: 7.219 kB / 1.132 GB, free: 14.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.591e-05/0.9395, allocations: 21.81 kB / 1.133 GB, free: 14.42 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.9395, allocations: 14.19 kB / 1.133 GB, free: 14.42 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.9407, allocations: 0.8033 MB / 1.133 GB, free: 14.23 MB / 0.698 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.00488/0.9456, allocations: 4.806 MB / 1.138 GB, free: 10.45 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002786/0.9484, allocations: 4.027 MB / 1.142 GB, free: 6.059 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.482e-05/0.9484, allocations: 17.09 kB / 1.142 GB, free: 6.055 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005505/0.949, allocations: 342.9 kB / 1.142 GB, free: 5.895 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003688/0.9494, allocations: 35.75 kB / 1.142 GB, free: 5.875 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 2.505e-06/0.9494, allocations: 0 / 1.142 GB, free: 5.875 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.005235/0.9546, allocations: 1.741 MB / 1.144 GB, free: 5.125 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.664e-05/0.9547, allocations: 115.2 kB / 1.144 GB, free: 4.996 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/0.9564, allocations: 1.178 MB / 1.145 GB, free: 4.625 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.186e-05/0.9565, allocations: 41.42 kB / 1.145 GB, free: 4.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004401/0.957, allocations: 0.5113 MB / 1.146 GB, free: 4.371 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.9571, allocations: 126.6 kB / 1.146 GB, free: 4.285 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.9571, allocations: 12.44 kB / 1.146 GB, free: 4.281 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.9572, allocations: 323.3 kB / 1.146 GB, free: 3.973 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004169/0.9577, allocations: 210.2 kB / 1.146 GB, free: 3.922 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006239/0.9583, allocations: 0.5369 MB / 1.147 GB, free: 3.477 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004832/0.9588, allocations: 317.7 kB / 1.147 GB, free: 3.375 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.9588, allocations: 1.031 kB / 1.147 GB, free: 3.375 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0025/0.9613, allocations: 1.081 MB / 1.148 GB, free: 2.965 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009957/0.9623, allocations: 2.14 MB / 1.15 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.9624, allocations: 11.2 kB / 1.15 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/0.9638, allocations: 379.7 kB / 1.151 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/0.9642, allocations: 68.2 kB / 1.151 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.9654, allocations: 1.056 MB / 1.152 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.9666, allocations: 104.5 kB / 1.152 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.238e-05/0.9667, allocations: 23 kB / 1.152 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.9667, allocations: 4.094 kB / 1.152 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001569/0.9683, allocations: 0.8107 MB / 1.153 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.9683, allocations: 9.484 kB / 1.153 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006653/0.969, allocations: 256.1 kB / 1.153 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/0.9693, allocations: 79.45 kB / 1.153 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004346/0.9737, allocations: 3.188 MB / 1.156 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.975, allocations: 101.3 kB / 1.156 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.134e-05/0.9751, allocations: 25.41 kB / 1.156 GB, free: 13.68 MB / 0.7136 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.00115/0.9762, allocations: 481.2 kB / 1.157 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005017/0.9767, allocations: 105.6 kB / 1.157 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/0.9788, allocations: 0.7985 MB / 1.158 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.9788, allocations: 2.938 kB / 1.158 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.9788, allocations: 5.531 kB / 1.158 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.9788, allocations: 1.344 kB / 1.158 GB, free: 13.08 MB / 0.7136 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.004416/0.9833, allocations: 2.241 MB / 1.16 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.9833, allocations: 2.75 kB / 1.16 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.9836, allocations: 61.59 kB / 1.16 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004824/0.984, allocations: 207.1 kB / 1.16 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.371e-05/0.9841, allocations: 7.188 kB / 1.16 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009208/0.985, allocations: 0.884 MB / 1.161 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.985, allocations: 1.25 kB / 1.161 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/0.9866, allocations: 0.9857 MB / 1.162 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006354/0.9873, allocations: 234.2 kB / 1.162 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000269/0.9876, allocations: 11.42 kB / 1.162 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008792/0.9884, allocations: 74.77 kB / 1.162 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.9886, allocations: 40.05 kB / 1.162 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.236e-05/0.9886, allocations: 13.64 kB / 1.162 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001423/0.99, allocations: 0.8292 MB / 1.163 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9901, allocations: 0 / 1.163 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001857/0.9919, allocations: 0.5098 MB / 1.164 GB, free: 10.02 MB / 0.7136 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.0005476/0.9925, allocations: 194 kB / 1.164 GB, free: 9.887 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002192/0.9947, allocations: 1.141 MB / 1.165 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.9947, allocations: 0 / 1.165 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005039/0.9952, allocations: 253.7 kB / 1.165 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003498/0.9987, allocations: 0.6466 MB / 1.166 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004334/1.003, allocations: 2.092 MB / 1.168 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/1.004, allocations: 1.239 MB / 1.169 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001277/1.005, allocations: 321.5 kB / 1.169 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/1.006, allocations: 71.98 kB / 1.169 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of SimCode: time 6.82e-07/1.006, allocations: 1.859 kB / 1.169 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of Templates: time 0.04025/1.046, allocations: 21.16 MB / 1.19 GB, free: 8.492 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)