Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.517/2.517, allocations: 287.5 MB / 303.2 MB, free: 8.27 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.001356/0.001356, allocations: 176.4 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0008767/0.0008766, allocations: 107.2 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004731, allocations: 20.5 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2058, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.728/6.934, allocations: 2.064 GB / 3.043 GB, free: 241.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003935/6.934, allocations: 95.94 kB / 3.043 GB, free: 241.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.746/16.68, allocations: 1.978 GB / 5.021 GB, free: 78.46 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.384e-06/16.68, allocations: 0 / 5.021 GB, free: 78.46 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002111/16.68, allocations: 35.98 kB / 5.021 GB, free: 78.42 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.008708/16.69, allocations: 1.566 MB / 5.023 GB, free: 76.79 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/16.69, allocations: 8.031 kB / 5.023 GB, free: 76.78 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001677/16.69, allocations: 199.4 kB / 5.023 GB, free: 76.59 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006423/16.7, allocations: 1.481 MB / 5.024 GB, free: 75.05 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.232e-05/16.7, allocations: 53.69 kB / 5.024 GB, free: 75 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002083/16.7, allocations: 68.36 kB / 5.025 GB, free: 74.93 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/16.7, allocations: 0.9563 MB / 5.025 GB, free: 73.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/16.7, allocations: 7.938 kB / 5.025 GB, free: 73.89 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.69e-05/16.7, allocations: 20 kB / 5.026 GB, free: 73.88 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/16.7, allocations: 16 kB / 5.026 GB, free: 73.86 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/16.7, allocations: 0.761 MB / 5.026 GB, free: 73.1 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.00661/16.71, allocations: 4.737 MB / 5.031 GB, free: 68.03 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002721/16.71, allocations: 4.059 MB / 5.035 GB, free: 63.14 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008765/16.71, allocations: 350.8 kB / 5.035 GB, free: 62.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004029/16.71, allocations: 194.2 kB / 5.035 GB, free: 62.57 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007523/16.71, allocations: 328.6 kB / 5.036 GB, free: 62.23 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007574/16.71, allocations: 35.69 kB / 5.036 GB, free: 62.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 3.747e-06/16.71, allocations: 0 / 5.036 GB, free: 62.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.007755/16.72, allocations: 1.547 MB / 5.037 GB, free: 60.62 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/16.72, allocations: 81.11 kB / 5.037 GB, free: 60.52 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00214/16.72, allocations: 1.177 MB / 5.038 GB, free: 59.33 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001362/16.72, allocations: 37.69 kB / 5.038 GB, free: 59.29 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004987/16.73, allocations: 0.5162 MB / 5.039 GB, free: 58.76 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/16.73, allocations: 130.2 kB / 5.039 GB, free: 58.63 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/16.73, allocations: 12 kB / 5.039 GB, free: 58.62 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.483e-05/16.73, allocations: 326 kB / 5.039 GB, free: 58.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006095/16.73, allocations: 209 kB / 5.04 GB, free: 58.09 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008155/16.73, allocations: 0.5522 MB / 5.04 GB, free: 57.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/16.73, allocations: 0.6491 MB / 5.041 GB, free: 56.67 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/16.73, allocations: 0 / 5.041 GB, free: 56.67 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.003436/16.73, allocations: 1.043 MB / 5.042 GB, free: 55.61 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001563/16.73, allocations: 288.3 kB / 5.042 GB, free: 55.24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/16.73, allocations: 4 kB / 5.042 GB, free: 55.24 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001893/16.73, allocations: 325.8 kB / 5.042 GB, free: 54.92 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005395/16.73, allocations: 71.89 kB / 5.042 GB, free: 54.85 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001348/16.74, allocations: 1.012 MB / 5.043 GB, free: 53.81 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/16.74, allocations: 103.7 kB / 5.044 GB, free: 53.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/16.74, allocations: 28 kB / 5.044 GB, free: 53.68 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/16.74, allocations: 4 kB / 5.044 GB, free: 53.68 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002212/16.74, allocations: 0.7868 MB / 5.044 GB, free: 52.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/16.74, allocations: 12.12 kB / 5.044 GB, free: 52.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008963/16.74, allocations: 220.6 kB / 5.045 GB, free: 52.65 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004792/16.74, allocations: 80.77 kB / 5.045 GB, free: 52.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004812/16.75, allocations: 2.887 MB / 5.048 GB, free: 49.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/16.75, allocations: 107.8 kB / 5.048 GB, free: 49.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.443e-05/16.75, allocations: 27.98 kB / 5.048 GB, free: 49.42 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): 38 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0008821/16.75, allocations: 476.9 kB / 5.048 GB, free: 48.95 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002557/16.75, allocations: 106.6 kB / 5.048 GB, free: 48.84 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002169/16.75, allocations: 0.8047 MB / 5.049 GB, free: 48.02 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.467e-06/16.75, allocations: 4 kB / 5.049 GB, free: 48.01 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/16.75, allocations: 0 / 5.049 GB, free: 48.01 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/16.75, allocations: 4.172 kB / 5.049 GB, free: 48.01 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.004627/16.76, allocations: 2.14 MB / 5.051 GB, free: 45.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/16.76, allocations: 7.938 kB / 5.051 GB, free: 45.72 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003598/16.76, allocations: 43.97 kB / 5.051 GB, free: 45.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000644/16.76, allocations: 180.8 kB / 5.051 GB, free: 45.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.753e-05/16.76, allocations: 12 kB / 5.051 GB, free: 45.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009529/16.76, allocations: 0.8495 MB / 5.052 GB, free: 44.61 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/16.76, allocations: 3.938 kB / 5.052 GB, free: 44.61 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001944/16.76, allocations: 0.8775 MB / 5.053 GB, free: 43.68 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000677/16.76, allocations: 235.7 kB / 5.053 GB, free: 43.43 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/16.76, allocations: 11.98 kB / 5.053 GB, free: 43.42 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/16.76, allocations: 75.77 kB / 5.053 GB, free: 43.34 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/16.76, allocations: 43.83 kB / 5.053 GB, free: 43.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-05/16.76, allocations: 15.98 kB / 5.053 GB, free: 43.29 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001578/16.76, allocations: 0.8248 MB / 5.054 GB, free: 42.45 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.71e-07/16.76, allocations: 0 / 5.054 GB, free: 42.45 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002823/16.77, allocations: 0.6049 MB / 5.055 GB, free: 41.85 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): 23 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.002036/16.77, allocations: 1.061 MB / 5.056 GB, free: 40.78 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003/16.77, allocations: 1.134 MB / 5.057 GB, free: 39.61 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/16.77, allocations: 0 / 5.057 GB, free: 39.61 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007421/16.77, allocations: 264 kB / 5.057 GB, free: 39.35 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006645/16.78, allocations: 0.6415 MB / 5.058 GB, free: 38.72 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004515/16.78, allocations: 2.112 MB / 5.06 GB, free: 36.55 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007992/16.79, allocations: 1.209 MB / 5.061 GB, free: 35.31 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002064/16.79, allocations: 380.6 kB / 5.061 GB, free: 34.94 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002724/16.79, allocations: 67.44 kB / 5.061 GB, free: 34.87 MB / 0.948 GB Notification: Performance of SimCode: time 1.243e-06/16.79, allocations: 0 / 5.061 GB, free: 34.87 MB / 0.948 GB Notification: Performance of Templates: time 0.08192/16.87, allocations: 33.41 MB / 5.094 GB, free: 1.648 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)