Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.792/1.792, allocations: 288.4 MB / 303.4 MB, free: 8.082 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.0009594/0.0009595, allocations: 186.9 kB / 372 MB, free: 10.26 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.436/1.436, allocations: 205.4 MB / 0.6307 GB, free: 9.898 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.0007355/0.000736, allocations: 89.31 kB / 0.7441 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003643, allocations: 12.69 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1789, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow): time 0.5873/0.7662, allocations: 152.4 MB / 1.128 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003577/0.7698, allocations: 2.049 MB / 1.13 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003719/0.7702, allocations: 14.62 kB / 1.13 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005805/0.7708, allocations: 161.6 kB / 1.131 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001434/0.7722, allocations: 0.4945 MB / 1.131 GB, free: 1.078 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.7734, allocations: 368.4 kB / 1.131 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00308/0.7764, allocations: 3.266 MB / 1.135 GB, free: 0.5469 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002486/0.7789, allocations: 2.293 MB / 1.137 GB, free: 164 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002308/0.7813, allocations: 1.056 MB / 1.138 GB, free: 15.95 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.7825, allocations: 0.8554 MB / 1.139 GB, free: 15.69 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.7826, allocations: 46.72 kB / 1.139 GB, free: 15.69 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.7841, allocations: 0.5995 MB / 1.139 GB, free: 15.5 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003049/0.7844, allocations: 328.7 kB / 1.14 GB, free: 15.35 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003284/0.7847, allocations: 248.6 kB / 1.14 GB, free: 15.28 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.786, allocations: 1.176 MB / 1.141 GB, free: 14.74 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.786, allocations: 4 kB / 1.141 GB, free: 14.74 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.585e-06/0.786, allocations: 0 / 1.141 GB, free: 14.74 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.372e-05/0.786, allocations: 1.859 kB / 1.141 GB, free: 14.74 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002692/0.7887, allocations: 1.511 MB / 1.143 GB, free: 13.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.7888, allocations: 9.375 kB / 1.143 GB, free: 13.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008174/0.7896, allocations: 197.9 kB / 1.143 GB, free: 13.63 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.7912, allocations: 0.8729 MB / 1.144 GB, free: 13.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.78e-05/0.7913, allocations: 47.06 kB / 1.144 GB, free: 13.13 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.7914, allocations: 63.31 kB / 1.144 GB, free: 13.13 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.7931, allocations: 0.9933 MB / 1.145 GB, free: 12.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.7931, allocations: 7.203 kB / 1.145 GB, free: 12.68 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.955e-05/0.7932, allocations: 21.47 kB / 1.145 GB, free: 12.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.7932, allocations: 14.69 kB / 1.145 GB, free: 12.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.7946, allocations: 0.804 MB / 1.145 GB, free: 12.5 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.004841/0.7994, allocations: 4.824 MB / 1.15 GB, free: 8.695 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002387/0.8018, allocations: 4.013 MB / 1.154 GB, free: 4.305 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005619/0.8024, allocations: 356.3 kB / 1.154 GB, free: 4.238 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003372/0.8027, allocations: 193.6 kB / 1.155 GB, free: 4.043 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006397/0.8034, allocations: 330.3 kB / 1.155 GB, free: 3.895 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004515/0.8039, allocations: 32.28 kB / 1.155 GB, free: 3.879 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 1.944e-06/0.8039, allocations: 0.5938 kB / 1.155 GB, free: 3.879 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.004922/0.8088, allocations: 1.5 MB / 1.156 GB, free: 3.242 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.8089, allocations: 81.92 kB / 1.157 GB, free: 3.148 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/0.8106, allocations: 1.173 MB / 1.158 GB, free: 2.781 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.816e-05/0.8107, allocations: 39.3 kB / 1.158 GB, free: 2.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004974/0.8112, allocations: 0.5153 MB / 1.158 GB, free: 2.527 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.8113, allocations: 125.8 kB / 1.158 GB, free: 2.438 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.964e-05/0.8114, allocations: 11.78 kB / 1.158 GB, free: 2.438 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.8115, allocations: 322.8 kB / 1.159 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000434/0.812, allocations: 209.3 kB / 1.159 GB, free: 2.078 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006759/0.8127, allocations: 0.5376 MB / 1.159 GB, free: 1.637 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005756/0.8133, allocations: 332.6 kB / 1.16 GB, free: 1.523 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.8133, allocations: 1.219 kB / 1.16 GB, free: 1.523 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002583/0.8159, allocations: 1.046 MB / 1.161 GB, free: 1.129 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001921/0.8161, allocations: 278 kB / 1.161 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.8161, allocations: 9.812 kB / 1.161 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/0.8176, allocations: 388.8 kB / 1.161 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005372/0.8182, allocations: 125.5 kB / 1.161 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/0.82, allocations: 1.676 MB / 1.163 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.8211, allocations: 98.45 kB / 1.163 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/0.8212, allocations: 23.84 kB / 1.163 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.8212, allocations: 3.625 kB / 1.163 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001554/0.8228, allocations: 0.7891 MB / 1.164 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.8228, allocations: 5.5 kB / 1.164 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005566/0.8234, allocations: 215.9 kB / 1.164 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/0.8238, allocations: 107.4 kB / 1.164 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003708/0.8275, allocations: 2.949 MB / 1.167 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.8286, allocations: 101.1 kB / 1.167 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-05/0.8286, allocations: 23.38 kB / 1.167 GB, free: 13.22 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 (38): * Single equations (assignments): 35 * 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.0006766/0.8293, allocations: 478.1 kB / 1.168 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/0.8295, allocations: 108.2 kB / 1.168 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.831, allocations: 0.7947 MB / 1.169 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.831, allocations: 9.828 kB / 1.169 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.831, allocations: 0 / 1.169 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.831, allocations: 3.984 kB / 1.169 GB, free: 12.62 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.003195/0.8342, allocations: 2.135 MB / 1.171 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.8342, allocations: 0 / 1.171 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000371/0.8346, allocations: 90.5 kB / 1.171 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00041/0.835, allocations: 203.5 kB / 1.171 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.8351, allocations: 10.42 kB / 1.171 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.8361, allocations: 1.469 MB / 1.172 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.8361, allocations: 2.719 kB / 1.172 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.8373, allocations: 0.862 MB / 1.173 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004631/0.8378, allocations: 231.9 kB / 1.174 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.838, allocations: 7.906 kB / 1.174 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007616/0.8388, allocations: 81.72 kB / 1.174 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.603e-05/0.8388, allocations: 35.84 kB / 1.174 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.768e-05/0.8389, allocations: 11.25 kB / 1.174 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00109/0.84, allocations: 0.8296 MB / 1.174 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.71e-07/0.84, allocations: 1.969 kB / 1.174 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001505/0.8415, allocations: 0.5049 MB / 1.175 GB, free: 9.176 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 (25): * Single equations (assignments): 21 * 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.000451/0.842, allocations: 190.7 kB / 1.175 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002919/0.8449, allocations: 1.293 MB / 1.176 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.8449, allocations: 0 / 1.176 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007534/0.8457, allocations: 317.4 kB / 1.177 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003391/0.8491, allocations: 0.638 MB / 1.177 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003638/0.8527, allocations: 2.225 MB / 1.18 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008142/0.8536, allocations: 1.213 MB / 1.181 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001173/0.8547, allocations: 358.1 kB / 1.181 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.8549, allocations: 64.69 kB / 1.181 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of SimCode: time 7.32e-07/0.8549, allocations: 0 / 1.181 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of Templates: time 0.03497/0.8899, allocations: 20.65 MB / 1.201 GB, free: 5.102 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)