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.728/1.728, allocations: 288.4 MB / 303.4 MB, free: 8.129 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.0009541/0.0009541, allocations: 176.5 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.529/1.529, allocations: 205.4 MB / 0.6307 GB, free: 9.949 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.0007258/0.0007258, allocations: 102.2 kB / 0.7441 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.0003826, allocations: 11.47 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2111, allocations: 115.3 MB / 0.9796 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.6217/0.8328, allocations: 152.4 MB / 1.128 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.00348/0.8364, allocations: 2.057 MB / 1.13 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003479/0.8367, allocations: 13.62 kB / 1.13 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006123/0.8374, allocations: 162.9 kB / 1.131 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001511/0.8389, allocations: 0.4932 MB / 1.131 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.84, allocations: 374 kB / 1.131 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002858/0.8429, allocations: 3.26 MB / 1.135 GB, free: 0.5469 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002407/0.8453, allocations: 2.296 MB / 1.137 GB, free: 164 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002067/0.8474, allocations: 1.059 MB / 1.138 GB, free: 15.96 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.8484, allocations: 0.8524 MB / 1.139 GB, free: 15.7 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.8486, allocations: 48.44 kB / 1.139 GB, free: 15.7 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001374/0.85, allocations: 0.5929 MB / 1.139 GB, free: 15.52 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003128/0.8503, allocations: 335 kB / 1.14 GB, free: 15.37 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000288/0.8506, allocations: 249.3 kB / 1.14 GB, free: 15.3 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.8518, allocations: 1.171 MB / 1.141 GB, free: 14.76 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.8518, allocations: 3.062 kB / 1.141 GB, free: 14.76 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8518, allocations: 0 / 1.141 GB, free: 14.76 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.8519, allocations: 0 / 1.141 GB, free: 14.76 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.002729/0.8546, allocations: 1.52 MB / 1.143 GB, free: 13.72 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/0.8547, allocations: 9.75 kB / 1.143 GB, free: 13.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007916/0.8555, allocations: 197.2 kB / 1.143 GB, free: 13.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001623/0.8571, allocations: 0.8726 MB / 1.144 GB, free: 13.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.101e-05/0.8572, allocations: 45.94 kB / 1.144 GB, free: 13.14 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.8573, allocations: 63.12 kB / 1.144 GB, free: 13.14 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001649/0.859, allocations: 0.9886 MB / 1.145 GB, free: 12.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.859, allocations: 5.375 kB / 1.145 GB, free: 12.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.834e-05/0.8591, allocations: 25.69 kB / 1.145 GB, free: 12.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.8591, allocations: 13.91 kB / 1.145 GB, free: 12.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001338/0.8604, allocations: 0.8076 MB / 1.145 GB, free: 12.51 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.004733/0.8652, allocations: 4.825 MB / 1.15 GB, free: 8.707 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0035/0.8687, allocations: 4.02 MB / 1.154 GB, free: 4.312 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006985/0.8694, allocations: 348.5 kB / 1.154 GB, free: 4.254 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003852/0.8698, allocations: 198.9 kB / 1.155 GB, free: 4.055 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007399/0.8706, allocations: 331.4 kB / 1.155 GB, free: 3.906 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005413/0.8711, allocations: 31.81 kB / 1.155 GB, free: 3.891 MB / 0.698 GB Notification: Performance of pre-optimization done (n=35): time 2.896e-06/0.8711, allocations: 0.5625 kB / 1.155 GB, free: 3.891 MB / 0.698 GB Notification: Performance of matching and sorting (n=35): time 0.005155/0.8763, allocations: 1.603 MB / 1.157 GB, free: 3.199 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.8764, allocations: 85.98 kB / 1.157 GB, free: 3.102 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/0.8781, allocations: 1.17 MB / 1.158 GB, free: 2.738 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.674e-05/0.8782, allocations: 37.2 kB / 1.158 GB, free: 2.707 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004354/0.8786, allocations: 0.5171 MB / 1.158 GB, free: 2.48 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.8787, allocations: 123.4 kB / 1.158 GB, free: 2.395 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-05/0.8788, allocations: 9.625 kB / 1.158 GB, free: 2.395 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.8789, allocations: 330.1 kB / 1.159 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003978/0.8793, allocations: 213.6 kB / 1.159 GB, free: 2.027 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000628/0.8799, allocations: 0.5336 MB / 1.159 GB, free: 1.586 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004805/0.8804, allocations: 323.7 kB / 1.16 GB, free: 1.48 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.8804, allocations: 5.281 kB / 1.16 GB, free: 1.477 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002267/0.8827, allocations: 1.046 MB / 1.161 GB, free: 1.086 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001581/0.8829, allocations: 274 kB / 1.161 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.8829, allocations: 5.125 kB / 1.161 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/0.8842, allocations: 338.5 kB / 1.161 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/0.8846, allocations: 106.5 kB / 1.162 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009478/0.8855, allocations: 0.9995 MB / 1.162 GB, free: 0 / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.8867, allocations: 98.91 kB / 1.163 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.677e-05/0.8867, allocations: 31.11 kB / 1.163 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.8868, allocations: 5.375 kB / 1.163 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001443/0.8882, allocations: 0.7935 MB / 1.163 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.8882, allocations: 4.719 kB / 1.163 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005577/0.8888, allocations: 225.9 kB / 1.164 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003995/0.8892, allocations: 108.6 kB / 1.164 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003484/0.8927, allocations: 2.936 MB / 1.167 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.8938, allocations: 103.2 kB / 1.167 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.872e-05/0.8939, allocations: 22.81 kB / 1.167 GB, free: 13.81 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): 36 * 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.0007506/0.8946, allocations: 482.3 kB / 1.167 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002131/0.8949, allocations: 109.8 kB / 1.167 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/0.8963, allocations: 0.7955 MB / 1.168 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.8964, allocations: 4.625 kB / 1.168 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.8964, allocations: 4.031 kB / 1.168 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.8964, allocations: 2.969 kB / 1.168 GB, free: 13.21 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.003142/0.8995, allocations: 2.124 MB / 1.17 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.8995, allocations: 0 / 1.17 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003167/0.8999, allocations: 88.52 kB / 1.17 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003986/0.9003, allocations: 177.8 kB / 1.17 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.9003, allocations: 12.25 kB / 1.17 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006728/0.901, allocations: 0.8501 MB / 1.171 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.901, allocations: 10.95 kB / 1.171 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.9023, allocations: 0.8504 MB / 1.172 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004651/0.9028, allocations: 232 kB / 1.172 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/0.903, allocations: 15.7 kB / 1.172 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007444/0.9037, allocations: 81.44 kB / 1.172 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.548e-05/0.9038, allocations: 32.45 kB / 1.172 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.9038, allocations: 11.62 kB / 1.172 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001099/0.9049, allocations: 0.8271 MB / 1.173 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.905, allocations: 0 / 1.173 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001624/0.9066, allocations: 0.5083 MB / 1.174 GB, free: 10.38 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): 22 * 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.0004825/0.9071, allocations: 193.8 kB / 1.174 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002077/0.9092, allocations: 1.139 MB / 1.175 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.9092, allocations: 0 / 1.175 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000423/0.9096, allocations: 245 kB / 1.175 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003167/0.9128, allocations: 0.6527 MB / 1.176 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.9159, allocations: 2.097 MB / 1.178 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000835/0.9167, allocations: 1.212 MB / 1.179 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001118/0.9178, allocations: 360.8 kB / 1.179 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.918, allocations: 71.89 kB / 1.18 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of SimCode: time 6.11e-07/0.918, allocations: 0 / 1.18 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of Templates: time 0.03601/0.9541, allocations: 20.85 MB / 1.2 GB, free: 6.551 MB / 0.7292 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)