Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.627/1.627, allocations: 285.4 MB / 298 MB, free: 6 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.001308/0.001309, allocations: 180.8 kB / 366.4 MB, free: 2.109 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.729/1.729, allocations: 205.1 MB / 0.6248 GB, free: 7.781 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.0009285/0.0009282, allocations: 97.94 kB / 0.738 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.379e-05/3.381e-05, allocations: 4 kB / 0.8583 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7693/0.7694, allocations: 115.3 MB / 0.9709 GB, free: 77.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.258/6.028, allocations: 2.064 GB / 3.034 GB, free: 76.43 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/6.028, allocations: 91.94 kB / 3.035 GB, free: 76.34 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.216/14.24, allocations: 1.981 GB / 5.016 GB, free: 254.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.763e-06/14.24, allocations: 0 / 5.016 GB, free: 254.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002196/14.24, allocations: 37.55 kB / 5.016 GB, free: 254.5 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.005241/14.25, allocations: 1.275 MB / 5.017 GB, free: 253.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/14.25, allocations: 10.91 kB / 5.017 GB, free: 253.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/14.25, allocations: 199.9 kB / 5.017 GB, free: 253.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00453/14.26, allocations: 1.428 MB / 5.019 GB, free: 253.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.941e-05/14.26, allocations: 54.97 kB / 5.019 GB, free: 253.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002165/14.26, allocations: 61.34 kB / 5.019 GB, free: 253.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/14.26, allocations: 0.923 MB / 5.02 GB, free: 253.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/14.26, allocations: 9.625 kB / 5.02 GB, free: 253.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.345e-05/14.26, allocations: 24.69 kB / 5.02 GB, free: 253.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/14.26, allocations: 14.41 kB / 5.02 GB, free: 253.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/14.26, allocations: 0.7031 MB / 5.02 GB, free: 253.3 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.005053/14.26, allocations: 4.739 MB / 5.025 GB, free: 250.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/14.27, allocations: 4.021 MB / 5.029 GB, free: 245.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003984/14.27, allocations: 332.7 kB / 5.029 GB, free: 245.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002933/14.27, allocations: 202.2 kB / 5.029 GB, free: 245.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000398/14.27, allocations: 302.2 kB / 5.03 GB, free: 245.7 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005284/14.27, allocations: 32.61 kB / 5.03 GB, free: 245.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 3.056e-06/14.27, allocations: 3.25 kB / 5.03 GB, free: 245.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.001427/14.27, allocations: 0.7251 MB / 5.03 GB, free: 245.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/14.27, allocations: 86.8 kB / 5.03 GB, free: 245.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/14.27, allocations: 1.025 MB / 5.031 GB, free: 245.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.823e-05/14.27, allocations: 44.27 kB / 5.031 GB, free: 245.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003829/14.27, allocations: 0.5129 MB / 5.032 GB, free: 245.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.673e-05/14.27, allocations: 128.3 kB / 5.032 GB, free: 245.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.558e-05/14.27, allocations: 10.66 kB / 5.032 GB, free: 245.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.56e-05/14.27, allocations: 328.2 kB / 5.032 GB, free: 244.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/14.27, allocations: 194.4 kB / 5.033 GB, free: 244.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000466/14.27, allocations: 0.5264 MB / 5.033 GB, free: 244.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/14.27, allocations: 305.3 kB / 5.033 GB, free: 244.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/14.27, allocations: 3.875 kB / 5.033 GB, free: 244.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001294/14.27, allocations: 0.9285 MB / 5.034 GB, free: 244.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005031/14.27, allocations: 2.222 MB / 5.036 GB, free: 241.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/14.27, allocations: 7.812 kB / 5.036 GB, free: 241.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005005/14.27, allocations: 238.9 kB / 5.037 GB, free: 241.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/14.27, allocations: 79.45 kB / 5.037 GB, free: 241.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008436/14.28, allocations: 1.003 MB / 5.038 GB, free: 241.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/14.28, allocations: 108.5 kB / 5.038 GB, free: 241.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.594e-05/14.28, allocations: 29.66 kB / 5.038 GB, free: 241.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/14.28, allocations: 3.688 kB / 5.038 GB, free: 241.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001104/14.28, allocations: 0.7331 MB / 5.039 GB, free: 241.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/14.28, allocations: 3.875 kB / 5.039 GB, free: 241.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000491/14.28, allocations: 231.6 kB / 5.039 GB, free: 241.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/14.28, allocations: 75.42 kB / 5.039 GB, free: 241.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002902/14.28, allocations: 2.878 MB / 5.042 GB, free: 239.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/14.28, allocations: 100.6 kB / 5.042 GB, free: 239.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.694e-05/14.28, allocations: 31.8 kB / 5.042 GB, free: 239.8 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 () * 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.000168/14.28, allocations: 139.2 kB / 5.042 GB, free: 239.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/14.28, allocations: 115.7 kB / 5.042 GB, free: 239.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/14.28, allocations: 0.7538 MB / 5.043 GB, free: 239.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/14.28, allocations: 3.938 kB / 5.043 GB, free: 239.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/14.28, allocations: 3.625 kB / 5.043 GB, free: 239.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/14.28, allocations: 3.797 kB / 5.043 GB, free: 239.6 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.002494/14.29, allocations: 2.108 MB / 5.045 GB, free: 238.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/14.29, allocations: 7.344 kB / 5.045 GB, free: 238.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/14.29, allocations: 51.55 kB / 5.045 GB, free: 238.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003494/14.29, allocations: 174.7 kB / 5.045 GB, free: 238.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/14.29, allocations: 7.906 kB / 5.045 GB, free: 238.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006104/14.29, allocations: 0.858 MB / 5.046 GB, free: 237.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/14.29, allocations: 3.75 kB / 5.046 GB, free: 237.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/14.29, allocations: 0.9201 MB / 5.047 GB, free: 237.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004/14.29, allocations: 231.2 kB / 5.047 GB, free: 237 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/14.29, allocations: 11.33 kB / 5.047 GB, free: 237 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006859/14.29, allocations: 79.69 kB / 5.047 GB, free: 237 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/14.29, allocations: 37.61 kB / 5.047 GB, free: 236.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/14.29, allocations: 15.69 kB / 5.047 GB, free: 236.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001048/14.29, allocations: 0.8112 MB / 5.048 GB, free: 236.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 2e-07/14.29, allocations: 3.562 kB / 5.048 GB, free: 236.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002219/14.29, allocations: 0.6055 MB / 5.049 GB, free: 236.5 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) * 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.001896/14.3, allocations: 1.07 MB / 5.05 GB, free: 236.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001829/14.3, allocations: 1.111 MB / 5.051 GB, free: 235.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/14.3, allocations: 3.25 kB / 5.051 GB, free: 235.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003438/14.3, allocations: 237.6 kB / 5.051 GB, free: 235.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003136/14.3, allocations: 0.6473 MB / 5.052 GB, free: 235.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/14.3, allocations: 1.46 MB / 5.053 GB, free: 235 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005986/14.3, allocations: 1.239 MB / 5.054 GB, free: 234.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001925/14.31, allocations: 0.8118 MB / 5.055 GB, free: 234.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.951e-05/14.31, allocations: 50.72 kB / 5.055 GB, free: 234.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.112e-06/14.31, allocations: 0 / 5.055 GB, free: 234.2 MB / 0.948 GB Notification: Performance of Templates: time 0.04932/14.36, allocations: 38.27 MB / 5.092 GB, free: 217.1 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)