Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.721/1.721, allocations: 293 MB / 309 MB, free: 4.82 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.001018/0.001019, allocations: 174.2 kB / 378.7 MB, free: 1.027 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.72/1.72, allocations: 205.4 MB / 0.6383 GB, free: 8.234 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008794/0.0008795, allocations: 88.5 kB / 0.7527 GB, free: 62.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003897/0.0003899, allocations: 15.98 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.264, allocations: 116.4 MB / 0.9904 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.959/5.224, allocations: 2.065 GB / 3.055 GB, free: 152.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/5.224, allocations: 93.11 kB / 3.055 GB, free: 152.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.319/8.543, allocations: 1.07 GB / 4.125 GB, free: 166.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.515e-06/8.543, allocations: 0 / 4.125 GB, free: 166.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001203/8.543, allocations: 31.52 kB / 4.125 GB, free: 166.7 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.004996/8.548, allocations: 1.573 MB / 4.127 GB, free: 165.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/8.548, allocations: 10.88 kB / 4.127 GB, free: 165.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/8.55, allocations: 193.5 kB / 4.127 GB, free: 165.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003369/8.553, allocations: 1.485 MB / 4.128 GB, free: 164.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.145e-05/8.553, allocations: 48.19 kB / 4.128 GB, free: 164.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/8.553, allocations: 63.34 kB / 4.128 GB, free: 164.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/8.555, allocations: 0.963 MB / 4.129 GB, free: 163.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/8.555, allocations: 4 kB / 4.129 GB, free: 163.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.499e-05/8.555, allocations: 24 kB / 4.129 GB, free: 163.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/8.555, allocations: 12 kB / 4.129 GB, free: 163.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/8.556, allocations: 0.7609 MB / 4.13 GB, free: 162.6 MB / 0.948 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.004168/8.56, allocations: 4.738 MB / 4.135 GB, free: 157.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001748/8.562, allocations: 4.065 MB / 4.139 GB, free: 152.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004116/8.562, allocations: 353.2 kB / 4.139 GB, free: 152.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003178/8.562, allocations: 190.2 kB / 4.139 GB, free: 152 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004524/8.563, allocations: 322.5 kB / 4.14 GB, free: 151.7 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005099/8.563, allocations: 35.69 kB / 4.14 GB, free: 151.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 2.405e-06/8.563, allocations: 3.938 kB / 4.14 GB, free: 151.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.004266/8.568, allocations: 1.555 MB / 4.141 GB, free: 150.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/8.568, allocations: 89.09 kB / 4.141 GB, free: 150 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/8.569, allocations: 1.169 MB / 4.142 GB, free: 148.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.277e-05/8.569, allocations: 37.7 kB / 4.142 GB, free: 148.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003462/8.57, allocations: 0.5201 MB / 4.143 GB, free: 148.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.974e-05/8.57, allocations: 126.2 kB / 4.143 GB, free: 148.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/8.57, allocations: 12 kB / 4.143 GB, free: 148.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.613e-05/8.57, allocations: 326 kB / 4.143 GB, free: 147.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003084/8.57, allocations: 212.9 kB / 4.144 GB, free: 147.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005255/8.571, allocations: 0.56 MB / 4.144 GB, free: 146.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007368/8.571, allocations: 0.6495 MB / 4.145 GB, free: 146.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/8.571, allocations: 0 / 4.145 GB, free: 146.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002015/8.573, allocations: 1.056 MB / 4.146 GB, free: 145.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001409/8.574, allocations: 281.5 kB / 4.146 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/8.574, allocations: 8 kB / 4.146 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/8.575, allocations: 388.2 kB / 4.146 GB, free: 144.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/8.575, allocations: 91.89 kB / 4.146 GB, free: 144.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/8.577, allocations: 1.67 MB / 4.148 GB, free: 142.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/8.578, allocations: 103.8 kB / 4.148 GB, free: 142.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-05/8.578, allocations: 24 kB / 4.148 GB, free: 142.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/8.578, allocations: 4 kB / 4.148 GB, free: 142.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001271/8.579, allocations: 0.798 MB / 4.149 GB, free: 141.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/8.579, allocations: 7.938 kB / 4.149 GB, free: 141.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004153/8.579, allocations: 221.3 kB / 4.149 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/8.58, allocations: 83.77 kB / 4.149 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002935/8.583, allocations: 2.905 MB / 4.152 GB, free: 138.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/8.584, allocations: 103.8 kB / 4.152 GB, free: 138.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.057e-05/8.584, allocations: 31.98 kB / 4.152 GB, free: 138.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.0007179/8.585, allocations: 481.8 kB / 4.153 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/8.585, allocations: 102.7 kB / 4.153 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/8.586, allocations: 0.8047 MB / 4.154 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/8.586, allocations: 4 kB / 4.154 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/8.586, allocations: 0 / 4.154 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/8.586, allocations: 7.938 kB / 4.154 GB, free: 136.7 MB / 0.948 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.002501/8.589, allocations: 2.142 MB / 4.156 GB, free: 134.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/8.589, allocations: 4 kB / 4.156 GB, free: 134.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/8.589, allocations: 59.89 kB / 4.156 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000357/8.589, allocations: 196.5 kB / 4.156 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/8.589, allocations: 15.98 kB / 4.156 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008068/8.59, allocations: 1.471 MB / 4.157 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/8.59, allocations: 96 / 4.157 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/8.591, allocations: 0.8722 MB / 4.158 GB, free: 131.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004599/8.592, allocations: 235.7 kB / 4.159 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/8.592, allocations: 15.92 kB / 4.159 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006702/8.592, allocations: 79.77 kB / 4.159 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.858e-05/8.593, allocations: 35.89 kB / 4.159 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/8.593, allocations: 11.98 kB / 4.159 GB, free: 131.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009272/8.593, allocations: 0.8288 MB / 4.159 GB, free: 130.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/8.594, allocations: 0 / 4.159 GB, free: 130.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002312/8.596, allocations: 0.601 MB / 4.16 GB, free: 129.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002081/8.598, allocations: 1.068 MB / 4.161 GB, free: 128.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002681/8.601, allocations: 1.288 MB / 4.162 GB, free: 127.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/8.601, allocations: 0 / 4.162 GB, free: 127.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006182/8.601, allocations: 320.2 kB / 4.163 GB, free: 127.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003839/8.605, allocations: 0.6462 MB / 4.163 GB, free: 126.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00374/8.609, allocations: 2.202 MB / 4.165 GB, free: 124.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007884/8.61, allocations: 1.22 MB / 4.167 GB, free: 123 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001407/8.611, allocations: 380.6 kB / 4.167 GB, free: 122.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/8.611, allocations: 67.42 kB / 4.167 GB, free: 122.6 MB / 0.948 GB Notification: Performance of SimCode: time 9.22e-07/8.611, allocations: 0 / 4.167 GB, free: 122.6 MB / 0.948 GB Notification: Performance of Templates: time 0.04714/8.658, allocations: 33.54 MB / 4.2 GB, free: 89.13 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)