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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.404/1.404, allocations: 252 MB / 267.6 MB, free: 10.95 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000949/0.0009491, allocations: 181.9 kB / 327.3 MB, free: 2.191 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.4 MB / 0.5783 GB, free: 20.51 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007826/0.000783, allocations: 109.4 kB / 0.6829 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003/0.0003001, allocations: 12.38 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1948, allocations: 106.4 MB / 0.9008 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.1485/0.3433, allocations: 152.5 MB / 1.05 GB, free: 7.27 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004849/0.3482, allocations: 3.833 MB / 1.054 GB, free: 3.426 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003656/0.3486, allocations: 11.94 kB / 1.054 GB, free: 3.414 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005566/0.3492, allocations: 162.9 kB / 1.054 GB, free: 3.254 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.3505, allocations: 0.4937 MB / 1.054 GB, free: 2.758 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.3516, allocations: 411.9 kB / 1.055 GB, free: 2.359 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.4297/0.7813, allocations: 3.265 MB / 1.058 GB, free: 4.48 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002638/0.784, allocations: 2.294 MB / 1.06 GB, free: 4.246 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002131/0.7862, allocations: 1.063 MB / 1.061 GB, free: 4.238 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.7872, allocations: 0.8462 MB / 1.062 GB, free: 4.238 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.7873, allocations: 49.52 kB / 1.062 GB, free: 4.238 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.7887, allocations: 0.5877 MB / 1.062 GB, free: 4.23 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00039/0.7891, allocations: 341.7 kB / 1.063 GB, free: 4.227 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005223/0.7896, allocations: 245.4 kB / 1.063 GB, free: 20.2 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.791, allocations: 1.179 MB / 1.064 GB, free: 20.09 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.7911, allocations: 3.031 kB / 1.064 GB, free: 20.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7911, allocations: 0 / 1.064 GB, free: 20.09 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.7911, allocations: 0 / 1.064 GB, free: 20.09 MB / 0.7136 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.002838/0.7939, allocations: 1.518 MB / 1.066 GB, free: 19.24 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.794, allocations: 9.438 kB / 1.066 GB, free: 19.24 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008413/0.7948, allocations: 199.7 kB / 1.066 GB, free: 19.18 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001665/0.7965, allocations: 0.8687 MB / 1.067 GB, free: 18.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.717e-05/0.7966, allocations: 50.31 kB / 1.067 GB, free: 18.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.7967, allocations: 63.09 kB / 1.067 GB, free: 18.84 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001844/0.7986, allocations: 0.9945 MB / 1.068 GB, free: 18.61 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.7986, allocations: 4.812 kB / 1.068 GB, free: 18.61 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.598e-05/0.7987, allocations: 25.22 kB / 1.068 GB, free: 18.61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/0.7987, allocations: 14.34 kB / 1.068 GB, free: 18.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/0.8002, allocations: 0.8143 MB / 1.069 GB, free: 18.59 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 preOpt removeSimpleEquations (simulation): time 0.00492/0.8051, allocations: 4.814 MB / 1.073 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/0.8076, allocations: 4.023 MB / 1.077 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005353/0.8081, allocations: 347.9 kB / 1.078 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000303/0.8084, allocations: 199.4 kB / 1.078 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005888/0.809, allocations: 339.4 kB / 1.078 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004106/0.8095, allocations: 29.62 kB / 1.078 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=35): time 2.224e-06/0.8095, allocations: 0 / 1.078 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=35): time 0.005318/0.8148, allocations: 1.752 MB / 1.08 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.8149, allocations: 88.36 kB / 1.08 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/0.8164, allocations: 1.182 MB / 1.081 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.198e-05/0.8164, allocations: 35.02 kB / 1.081 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003662/0.8168, allocations: 0.5126 MB / 1.082 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.502e-05/0.8169, allocations: 129.1 kB / 1.082 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.8169, allocations: 8.781 kB / 1.082 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.817, allocations: 326.1 kB / 1.082 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003747/0.8174, allocations: 208.6 kB / 1.082 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005402/0.818, allocations: 0.5363 MB / 1.083 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004534/0.8184, allocations: 316.5 kB / 1.083 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.8185, allocations: 5.438 kB / 1.083 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002113/0.8206, allocations: 1.067 MB / 1.084 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001664/0.8208, allocations: 282.6 kB / 1.084 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.8208, allocations: 8.594 kB / 1.084 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/0.8222, allocations: 375.5 kB / 1.085 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002892/0.8225, allocations: 71.25 kB / 1.085 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/0.8236, allocations: 1.053 MB / 1.086 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.8247, allocations: 99.08 kB / 1.086 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.813e-05/0.8247, allocations: 26.95 kB / 1.086 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.8247, allocations: 8.234 kB / 1.086 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001485/0.8262, allocations: 0.8128 MB / 1.087 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.8263, allocations: 5.906 kB / 1.087 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006145/0.8269, allocations: 270.1 kB / 1.087 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/0.8272, allocations: 74.08 kB / 1.087 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003356/0.8305, allocations: 3.124 MB / 1.09 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.8316, allocations: 103.8 kB / 1.09 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.8316, allocations: 26.48 kB / 1.09 GB, free: 6.738 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.0006912/0.8323, allocations: 477.6 kB / 1.091 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.8324, allocations: 109.1 kB / 1.091 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/0.8337, allocations: 0.8159 MB / 1.092 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.8337, allocations: 10.38 kB / 1.092 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.8337, allocations: 3.953 kB / 1.092 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.8337, allocations: 3.047 kB / 1.092 GB, free: 6.367 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.002585/0.8363, allocations: 2.164 MB / 1.094 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/0.8364, allocations: 0 / 1.094 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.8366, allocations: 54.17 kB / 1.094 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004219/0.837, allocations: 209.5 kB / 1.094 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.837, allocations: 9.891 kB / 1.094 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006719/0.8377, allocations: 0.8879 MB / 1.095 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.8377, allocations: 3.125 kB / 1.095 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.8389, allocations: 0.8733 MB / 1.096 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003565/0.8393, allocations: 240.4 kB / 1.096 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.8394, allocations: 8.766 kB / 1.096 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006802/0.8401, allocations: 80 kB / 1.096 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.758e-05/0.8402, allocations: 31.12 kB / 1.096 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.744e-05/0.8402, allocations: 14.42 kB / 1.096 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009431/0.8412, allocations: 0.8349 MB / 1.097 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8412, allocations: 3.5 kB / 1.097 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001315/0.8425, allocations: 0.5065 MB / 1.097 GB, free: 4.383 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.000391/0.8429, allocations: 185.7 kB / 1.098 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001757/0.8447, allocations: 1.144 MB / 1.099 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.8447, allocations: 7.406 kB / 1.099 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004051/0.8451, allocations: 254.4 kB / 1.099 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002902/0.848, allocations: 0.6522 MB / 1.1 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.8507, allocations: 2.164 MB / 1.102 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006408/0.8513, allocations: 1.217 MB / 1.103 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.8515, allocations: 65.97 kB / 1.103 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of SimCode: time 6.41e-07/0.8515, allocations: 0 / 1.103 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of Templates: time 0.02999/0.8815, allocations: 22.32 MB / 1.125 GB, free: 9.828 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (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)