Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.001201, allocations: 191 kB / 16.25 MB, free: 6.621 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.435/1.435, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.854/2.854, allocations: 472.6 MB / 0.7448 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 63.22 kB / 0.9115 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.358, allocations: 159.9 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1797/0.5377, allocations: 159.4 MB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005578/0.5434, allocations: 3.581 MB / 1.227 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006724/0.5441, allocations: 19.81 kB / 1.227 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009094/0.5451, allocations: 139.2 kB / 1.227 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.5472, allocations: 0.5019 MB / 1.228 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.5488, allocations: 402 kB / 1.228 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003133/0.552, allocations: 2.587 MB / 1.23 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003396/0.5554, allocations: 2.399 MB / 1.233 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002475/0.5579, allocations: 1.066 MB / 1.234 GB, free: 76 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001478/0.5594, allocations: 0.7547 MB / 1.235 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003323/0.5597, allocations: 63.94 kB / 1.235 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002078/0.5618, allocations: 0.7561 MB / 1.235 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006248/0.5625, allocations: 314.9 kB / 1.236 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001302/0.5638, allocations: 0.5518 MB / 1.236 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002448/0.5662, allocations: 1.441 MB / 1.238 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.5663, allocations: 0 / 1.238 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5663, allocations: 0 / 1.238 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.755e-05/0.5663, allocations: 0 / 1.238 GB, free: 12.19 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.003176/0.5695, allocations: 1.458 MB / 1.239 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.5696, allocations: 8.031 kB / 1.239 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009334/0.5705, allocations: 194.4 kB / 1.239 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.5721, allocations: 0.8024 MB / 1.24 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.007e-05/0.5721, allocations: 41 kB / 1.24 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.5723, allocations: 63.94 kB / 1.24 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.5737, allocations: 0.8238 MB / 1.241 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.5738, allocations: 7.938 kB / 1.241 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.485e-05/0.5738, allocations: 20 kB / 1.241 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.5739, allocations: 12 kB / 1.241 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.5749, allocations: 0.5656 MB / 1.241 GB, free: 8.004 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.004725/0.5797, allocations: 4.212 MB / 1.246 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008214/0.5805, allocations: 432 kB / 1.246 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005568/0.5811, allocations: 348.9 kB / 1.246 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003707/0.5815, allocations: 194.2 kB / 1.247 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005901/0.5821, allocations: 335 kB / 1.247 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003463/0.5824, allocations: 35.59 kB / 1.247 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 7.033e-06/0.5824, allocations: 3.984 kB / 1.247 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.001631/0.5841, allocations: 0.6926 MB / 1.248 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.563e-05/0.5842, allocations: 93.09 kB / 1.248 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.5858, allocations: 1.155 MB / 1.249 GB, free: 160 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.632e-05/0.5859, allocations: 41.64 kB / 1.249 GB, free: 112 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.5832/1.169, allocations: 481.8 kB / 1.249 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/1.169, allocations: 117.1 kB / 1.249 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/1.17, allocations: 112.1 kB / 1.249 GB, free: 186.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.001e-05/1.17, allocations: 327.9 kB / 1.25 GB, free: 186 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005031/1.17, allocations: 234.6 kB / 1.25 GB, free: 186 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006039/1.171, allocations: 0.5358 MB / 1.251 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009193/1.172, allocations: 0.6761 MB / 1.251 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/1.172, allocations: 1.688 kB / 1.251 GB, free: 185.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001407/1.173, allocations: 0.7753 MB / 1.252 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/1.173, allocations: 35.78 kB / 1.252 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/1.173, allocations: 5.5 kB / 1.252 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/1.173, allocations: 7.406 kB / 1.252 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005326/1.174, allocations: 118 kB / 1.252 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/1.174, allocations: 16.58 kB / 1.252 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008251/1.175, allocations: 74.81 kB / 1.252 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.765e-05/1.175, allocations: 26.55 kB / 1.252 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000734/1.175, allocations: 0.5157 MB / 1.253 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005143/1.176, allocations: 0.5145 MB / 1.253 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007332/1.177, allocations: 0.5944 MB / 1.254 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.747e-06/1.177, allocations: 1.375 kB / 1.254 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001046/1.178, allocations: 0.6929 MB / 1.255 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/1.178, allocations: 40.72 kB / 1.255 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/1.178, allocations: 4.875 kB / 1.255 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/1.178, allocations: 12.12 kB / 1.255 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004441/1.178, allocations: 112.8 kB / 1.255 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/1.178, allocations: 11.5 kB / 1.255 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007813/1.179, allocations: 85.11 kB / 1.255 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.283e-05/1.179, allocations: 25.38 kB / 1.255 GB, free: 184.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_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001612/1.179, allocations: 216.9 kB / 1.255 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/1.179, allocations: 103 kB / 1.255 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009926/1.18, allocations: 0.5477 MB / 1.256 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/1.18, allocations: 7.797 kB / 1.256 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.18, allocations: 0 / 1.256 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/1.18, allocations: 6.172 kB / 1.256 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/1.182, allocations: 1.488 MB / 1.257 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/1.182, allocations: 4.781 kB / 1.257 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003008/1.183, allocations: 68.75 kB / 1.257 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/1.183, allocations: 3.328 kB / 1.257 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/1.183, allocations: 16.52 kB / 1.257 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/1.183, allocations: 6.562 kB / 1.257 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.183, allocations: 2.625 kB / 1.257 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006956/1.183, allocations: 0.6597 MB / 1.258 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002504/1.184, allocations: 224.9 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/1.184, allocations: 7.781 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005911/1.184, allocations: 61.44 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.348e-05/1.184, allocations: 35.52 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/1.184, allocations: 16.61 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008004/1.185, allocations: 0.8147 MB / 1.259 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.185, allocations: 0 / 1.259 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001024/1.186, allocations: 427.9 kB / 1.259 GB, free: 183.1 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004693/1.187, allocations: 174.7 kB / 1.26 GB, free: 183 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001401/1.188, allocations: 0.9398 MB / 1.26 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/1.188, allocations: 0.625 kB / 1.26 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003701/1.189, allocations: 238.4 kB / 1.261 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/1.19, allocations: 0.4966 MB / 1.261 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/1.193, allocations: 2.057 MB / 1.263 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006552/1.194, allocations: 1.181 MB / 1.264 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001178/1.195, allocations: 430.5 kB / 1.265 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/1.195, allocations: 81.58 kB / 1.265 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/1.195, allocations: 0 / 1.265 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.03957/1.235, allocations: 18.52 MB / 1.283 GB, free: 175 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)