Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 193.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.759/2.759, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 68.2 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3308, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1691/0.5, allocations: 161.6 MB / 1.226 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003451/0.5035, allocations: 1.763 MB / 1.228 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003484/0.5039, allocations: 15.88 kB / 1.228 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007117/0.5046, allocations: 162.9 kB / 1.228 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.5061, allocations: 0.5211 MB / 1.228 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.5072, allocations: 394 kB / 1.229 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002583/0.5098, allocations: 2.544 MB / 1.231 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002675/0.5125, allocations: 2.407 MB / 1.234 GB, free: 324 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001928/0.5145, allocations: 1.02 MB / 1.235 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009535/0.5154, allocations: 0.7195 MB / 1.235 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.5155, allocations: 59.94 kB / 1.235 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001431/0.517, allocations: 0.7445 MB / 1.236 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003537/0.5174, allocations: 318.8 kB / 1.236 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006675/0.518, allocations: 0.544 MB / 1.237 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.5194, allocations: 1.394 MB / 1.238 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.5194, allocations: 0 / 1.238 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5194, allocations: 0 / 1.238 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.5195, allocations: 0 / 1.238 GB, free: 11.51 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002147/0.5216, allocations: 1.461 MB / 1.24 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.5217, allocations: 8.031 kB / 1.24 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007462/0.5224, allocations: 190.5 kB / 1.24 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.5235, allocations: 0.806 MB / 1.241 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.938e-05/0.5236, allocations: 45 kB / 1.241 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.773e-05/0.5237, allocations: 56 kB / 1.241 GB, free: 8.832 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.5248, allocations: 0.8277 MB / 1.242 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.5249, allocations: 3.938 kB / 1.242 GB, free: 7.922 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.466e-05/0.5249, allocations: 24 kB / 1.242 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.5249, allocations: 12 kB / 1.242 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009531/0.5259, allocations: 0.5618 MB / 1.242 GB, free: 7.324 MB / 0.9981 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.003749/0.5297, allocations: 4.227 MB / 1.246 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007446/0.5304, allocations: 438.2 kB / 1.247 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004929/0.5309, allocations: 342.3 kB / 1.247 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003236/0.5312, allocations: 202.2 kB / 1.247 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005226/0.5318, allocations: 323.1 kB / 1.248 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001785/0.532, allocations: 31.69 kB / 1.248 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.794e-06/0.532, allocations: 4 kB / 1.248 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.4934/1.025, allocations: 1.659 MB / 1.249 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/1.025, allocations: 84.16 kB / 1.249 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/1.027, allocations: 1.146 MB / 1.25 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.472e-05/1.027, allocations: 39.09 kB / 1.25 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003917/1.028, allocations: 487.6 kB / 1.251 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.814e-05/1.028, allocations: 114.8 kB / 1.251 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/1.028, allocations: 118.5 kB / 1.251 GB, free: 185.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.965e-05/1.028, allocations: 329.9 kB / 1.251 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004514/1.029, allocations: 236 kB / 1.252 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006153/1.029, allocations: 0.5437 MB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009737/1.03, allocations: 0.6745 MB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/1.03, allocations: 3.844 kB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002382/1.033, allocations: 1.105 MB / 1.254 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.869e-05/1.033, allocations: 36.95 kB / 1.254 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/1.033, allocations: 5.75 kB / 1.254 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001298/1.034, allocations: 371.3 kB / 1.254 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/1.034, allocations: 83.58 kB / 1.254 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009991/1.035, allocations: 1.045 MB / 1.255 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008568/1.036, allocations: 61.94 kB / 1.256 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.566e-05/1.036, allocations: 26.36 kB / 1.256 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007129/1.037, allocations: 0.5226 MB / 1.256 GB, free: 184 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004775/1.037, allocations: 0.5043 MB / 1.257 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006629/1.038, allocations: 0.6075 MB / 1.257 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.326e-06/1.038, allocations: 2.906 kB / 1.257 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001399/1.04, allocations: 0.8986 MB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/1.04, allocations: 37.98 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.04, allocations: 5.969 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005093/1.04, allocations: 242.1 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/1.04, allocations: 86.48 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003269/1.044, allocations: 3.273 MB / 1.262 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008733/1.045, allocations: 63.78 kB / 1.262 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/1.045, allocations: 24.95 kB / 1.262 GB, free: 181.4 MB / 0.9981 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 (pulse_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0001777/1.045, allocations: 220.3 kB / 1.262 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/1.045, allocations: 100.7 kB / 1.262 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/1.046, allocations: 0.7828 MB / 1.263 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/1.046, allocations: 3.156 kB / 1.263 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.046, allocations: 2.656 kB / 1.263 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/1.046, allocations: 2.109 kB / 1.263 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/1.049, allocations: 1.733 MB / 1.264 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/1.049, allocations: 3.344 kB / 1.264 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/1.049, allocations: 44.09 kB / 1.264 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005167/1.049, allocations: 251.4 kB / 1.265 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/1.05, allocations: 11.77 kB / 1.265 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008342/1.05, allocations: 1.003 MB / 1.266 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/1.05, allocations: 6.812 kB / 1.266 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/1.052, allocations: 0.8888 MB / 1.267 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002988/1.052, allocations: 221.8 kB / 1.267 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/1.052, allocations: 13.27 kB / 1.267 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005656/1.053, allocations: 38.58 kB / 1.267 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/1.053, allocations: 30.67 kB / 1.267 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/1.053, allocations: 14.55 kB / 1.267 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001091/1.054, allocations: 0.8148 MB / 1.268 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.71e-07/1.054, allocations: 0 / 1.268 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001345/1.055, allocations: 460.1 kB / 1.268 GB, free: 178.2 MB / 0.9981 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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004191/1.056, allocations: 181.9 kB / 1.268 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0022/1.058, allocations: 1.156 MB / 1.269 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.058, allocations: 0 / 1.269 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005882/1.059, allocations: 244.7 kB / 1.27 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002064/1.061, allocations: 0.4993 MB / 1.27 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/1.063, allocations: 1.803 MB / 1.272 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000989/1.064, allocations: 1.189 MB / 1.273 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001079/1.065, allocations: 328.7 kB / 1.273 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/1.066, allocations: 62.7 kB / 1.273 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of SimCode: time 8.02e-07/1.066, allocations: 0 / 1.273 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.03364/1.099, allocations: 20.93 MB / 1.294 GB, free: 167.5 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)