Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.829/1.829, allocations: 292.6 MB / 307.5 MB, free: 5.219 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.001629/0.001629, allocations: 199.1 kB / 377.1 MB, free: 1.516 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.831/1.831, allocations: 205.4 MB / 0.6367 GB, free: 8.66 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.0008704/0.0008704, allocations: 96.09 kB / 0.751 GB, free: 62.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003633, allocations: 8 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2763, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.622/5.899, allocations: 2.065 GB / 3.053 GB, free: 156.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003291/5.899, allocations: 93.33 kB / 3.053 GB, free: 156.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.895/12.79, allocations: 1.983 GB / 5.036 GB, free: 193.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.555e-06/12.79, allocations: 0 / 5.036 GB, free: 193.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001309/12.79, allocations: 34.91 kB / 5.036 GB, free: 193.1 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.005129/12.8, allocations: 1.58 MB / 5.037 GB, free: 192.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/12.8, allocations: 11.75 kB / 5.037 GB, free: 192.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/12.8, allocations: 201.2 kB / 5.038 GB, free: 192.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003911/12.8, allocations: 1.437 MB / 5.039 GB, free: 192.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.519e-05/12.8, allocations: 51.42 kB / 5.039 GB, free: 192.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/12.8, allocations: 64.12 kB / 5.039 GB, free: 192.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/12.81, allocations: 0.9581 MB / 5.04 GB, free: 191.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/12.81, allocations: 0 / 5.04 GB, free: 191.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.601e-05/12.81, allocations: 28.22 kB / 5.04 GB, free: 191.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/12.81, allocations: 13.56 kB / 5.04 GB, free: 191.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/12.81, allocations: 0.7602 MB / 5.041 GB, free: 191.9 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.004261/12.81, allocations: 4.733 MB / 5.046 GB, free: 188.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/12.81, allocations: 4.064 MB / 5.049 GB, free: 184.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002804/12.81, allocations: 194 kB / 5.05 GB, free: 184.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00045/12.81, allocations: 325.7 kB / 5.05 GB, free: 184.4 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005161/12.81, allocations: 29.94 kB / 5.05 GB, free: 184.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 2.595e-06/12.81, allocations: 0 / 5.05 GB, free: 184.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.003086/12.82, allocations: 1.303 MB / 5.051 GB, free: 184.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/12.82, allocations: 83.73 kB / 5.051 GB, free: 184.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/12.82, allocations: 1.043 MB / 5.052 GB, free: 183.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.666e-05/12.82, allocations: 44.55 kB / 5.052 GB, free: 183.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003541/12.82, allocations: 0.5125 MB / 5.053 GB, free: 183.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.887e-05/12.82, allocations: 128.8 kB / 5.053 GB, free: 183.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/12.82, allocations: 7.875 kB / 5.053 GB, free: 183.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.014e-05/12.82, allocations: 326.3 kB / 5.053 GB, free: 183.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003278/12.82, allocations: 209.7 kB / 5.054 GB, free: 183.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004974/12.82, allocations: 0.5616 MB / 5.054 GB, free: 183 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004228/12.82, allocations: 326.7 kB / 5.054 GB, free: 182.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/12.82, allocations: 0 / 5.054 GB, free: 182.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001437/12.82, allocations: 0.9823 MB / 5.055 GB, free: 182.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004455/12.82, allocations: 2.226 MB / 5.058 GB, free: 180.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/12.82, allocations: 3.906 kB / 5.058 GB, free: 180.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005125/12.82, allocations: 233.2 kB / 5.058 GB, free: 180.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/12.82, allocations: 82.08 kB / 5.058 GB, free: 180.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008204/12.82, allocations: 1.002 MB / 5.059 GB, free: 180 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/12.83, allocations: 105.2 kB / 5.059 GB, free: 180 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.027e-05/12.83, allocations: 26.12 kB / 5.059 GB, free: 180 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/12.83, allocations: 6.062 kB / 5.059 GB, free: 180 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001276/12.83, allocations: 0.7889 MB / 5.06 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/12.83, allocations: 6.906 kB / 5.06 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005015/12.83, allocations: 225 kB / 5.06 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/12.83, allocations: 79.03 kB / 5.06 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003033/12.83, allocations: 2.945 MB / 5.063 GB, free: 178.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/12.83, allocations: 101.7 kB / 5.063 GB, free: 178.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-05/12.83, allocations: 25.03 kB / 5.063 GB, free: 178.5 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.0007039/12.83, allocations: 475.2 kB / 5.063 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/12.83, allocations: 111.5 kB / 5.064 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/12.83, allocations: 0.7953 MB / 5.064 GB, free: 178.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/12.83, allocations: 6.375 kB / 5.064 GB, free: 178.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/12.83, allocations: 0 / 5.064 GB, free: 178.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/12.83, allocations: 3.469 kB / 5.064 GB, free: 178.2 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.0029/12.84, allocations: 2.152 MB / 5.066 GB, free: 177.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/12.84, allocations: 6.641 kB / 5.066 GB, free: 177.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/12.84, allocations: 49.41 kB / 5.067 GB, free: 177.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003488/12.84, allocations: 178.8 kB / 5.067 GB, free: 177.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/12.84, allocations: 8.719 kB / 5.067 GB, free: 177.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005673/12.84, allocations: 0.8631 MB / 5.068 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/12.84, allocations: 9.781 kB / 5.068 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/12.84, allocations: 0.9623 MB / 5.069 GB, free: 176.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005112/12.84, allocations: 238.9 kB / 5.069 GB, free: 176.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/12.84, allocations: 8.406 kB / 5.069 GB, free: 176.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006939/12.84, allocations: 81.72 kB / 5.069 GB, free: 176.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.387e-05/12.84, allocations: 35.28 kB / 5.069 GB, free: 176.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/12.84, allocations: 15.73 kB / 5.069 GB, free: 176.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009632/12.84, allocations: 0.8241 MB / 5.07 GB, free: 176.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/12.84, allocations: 0 / 5.07 GB, free: 176.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001856/12.84, allocations: 0.6062 MB / 5.07 GB, free: 176.2 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.001566/12.85, allocations: 1.061 MB / 5.071 GB, free: 175.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001889/12.85, allocations: 1.131 MB / 5.072 GB, free: 175.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/12.85, allocations: 0 / 5.072 GB, free: 175.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004105/12.85, allocations: 260.8 kB / 5.073 GB, free: 175.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/12.85, allocations: 0.6364 MB / 5.073 GB, free: 175.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/12.85, allocations: 2.1 MB / 5.075 GB, free: 174.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005695/12.85, allocations: 1.233 MB / 5.077 GB, free: 174.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001278/12.86, allocations: 392.4 kB / 5.077 GB, free: 174.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/12.86, allocations: 74.34 kB / 5.077 GB, free: 174.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.194e-06/12.86, allocations: 0 / 5.077 GB, free: 174.1 MB / 0.948 GB Notification: Performance of Templates: time 0.05011/12.91, allocations: 33.35 MB / 5.11 GB, free: 173 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)