Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008538/0.0008538, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00638/0.00638, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.407/1.407, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.836/2.836, allocations: 473.4 MB / 0.7469 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003288, allocations: 11.09 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2951, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1679/0.463, allocations: 157.3 MB / 1.228 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00502/0.4681, allocations: 3.581 MB / 1.231 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003414/0.4685, allocations: 7.938 kB / 1.231 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005124/0.469, allocations: 135.2 kB / 1.231 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001286/0.4703, allocations: 0.4981 MB / 1.232 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.4715, allocations: 393.4 kB / 1.232 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003453/0.4749, allocations: 3.51 MB / 1.236 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00275/0.4777, allocations: 2.23 MB / 1.238 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001841/0.4796, allocations: 0.9063 MB / 1.239 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008831/0.4805, allocations: 0.7155 MB / 1.239 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.045e-05/0.4806, allocations: 32 kB / 1.239 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001535/0.4821, allocations: 0.799 MB / 1.24 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003113/0.4824, allocations: 282.9 kB / 1.241 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006671/0.4831, allocations: 0.53 MB / 1.241 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0017/0.4848, allocations: 1.386 MB / 1.242 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4848, allocations: 0 / 1.242 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.036e-06/0.4848, allocations: 4 kB / 1.242 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.4849, allocations: 0 / 1.242 GB, free: 10.57 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.002146/0.487, allocations: 1.295 MB / 1.244 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.4871, allocations: 12.03 kB / 1.244 GB, free: 9.203 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007279/0.4878, allocations: 186.5 kB / 1.244 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.489, allocations: 0.8062 MB / 1.245 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.641e-05/0.489, allocations: 45 kB / 1.245 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.349e-05/0.4891, allocations: 56 kB / 1.245 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.4904, allocations: 0.8354 MB / 1.246 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.4905, allocations: 0 / 1.246 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.74e-05/0.4905, allocations: 24 kB / 1.246 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.466e-05/0.4906, allocations: 12 kB / 1.246 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000957/0.4915, allocations: 0.5773 MB / 1.246 GB, free: 6.535 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.004068/0.4956, allocations: 4.254 MB / 1.25 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000785/0.4964, allocations: 450.2 kB / 1.251 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000514/0.4969, allocations: 352.9 kB / 1.251 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000298/0.4972, allocations: 194.2 kB / 1.251 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005478/0.4978, allocations: 327 kB / 1.252 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002716/0.4981, allocations: 31.69 kB / 1.252 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.843e-06/0.4981, allocations: 0 / 1.252 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.5303/1.028, allocations: 0.7153 MB / 1.252 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/1.028, allocations: 85.78 kB / 1.252 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002458/1.031, allocations: 1.156 MB / 1.254 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001174/1.031, allocations: 37.02 kB / 1.254 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000593/1.032, allocations: 490.7 kB / 1.254 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/1.032, allocations: 114.2 kB / 1.254 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.345e-05/1.032, allocations: 44.86 kB / 1.254 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.179e-05/1.032, allocations: 328.4 kB / 1.254 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000509/1.033, allocations: 231.9 kB / 1.255 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006534/1.033, allocations: 0.5492 MB / 1.255 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/1.034, allocations: 0.6872 MB / 1.256 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/1.034, allocations: 4.812 kB / 1.256 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001716/1.036, allocations: 0.7796 MB / 1.257 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.00016/1.036, allocations: 270.5 kB / 1.257 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/1.036, allocations: 11.34 kB / 1.257 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.835e-05/1.036, allocations: 8.75 kB / 1.257 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006133/1.037, allocations: 117 kB / 1.257 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.623e-05/1.037, allocations: 13.73 kB / 1.257 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/1.038, allocations: 84.69 kB / 1.257 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.182e-05/1.038, allocations: 25.53 kB / 1.257 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/1.038, allocations: 4.312 kB / 1.257 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001106/1.039, allocations: 0.5817 MB / 1.258 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/1.039, allocations: 6.031 kB / 1.258 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/1.039, allocations: 12.03 kB / 1.258 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004646/1.04, allocations: 115.5 kB / 1.258 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/1.04, allocations: 12.7 kB / 1.258 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008964/1.041, allocations: 75.22 kB / 1.258 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.315e-05/1.041, allocations: 26.44 kB / 1.258 GB, free: 182 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.0005379/1.041, allocations: 471.4 kB / 1.258 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/1.042, allocations: 106 kB / 1.259 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/1.043, allocations: 0.5607 MB / 1.259 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/1.043, allocations: 4.188 kB / 1.259 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/1.043, allocations: 0 / 1.259 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/1.043, allocations: 5.281 kB / 1.259 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/1.045, allocations: 1.497 MB / 1.261 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/1.045, allocations: 2.656 kB / 1.261 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003397/1.046, allocations: 74.27 kB / 1.261 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/1.046, allocations: 2.625 kB / 1.261 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.494e-05/1.046, allocations: 12.64 kB / 1.261 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/1.046, allocations: 2.625 kB / 1.261 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/1.046, allocations: 6.688 kB / 1.261 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00095/1.047, allocations: 0.6806 MB / 1.261 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003501/1.047, allocations: 228.2 kB / 1.262 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/1.047, allocations: 8.812 kB / 1.262 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006548/1.048, allocations: 63.45 kB / 1.262 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/1.048, allocations: 39.84 kB / 1.262 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/1.048, allocations: 13.45 kB / 1.262 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001197/1.049, allocations: 0.8201 MB / 1.262 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.01e-07/1.049, allocations: 2.969 kB / 1.262 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001403/1.051, allocations: 417.7 kB / 1.263 GB, free: 180.7 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.000463/1.051, allocations: 171.9 kB / 1.263 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001518/1.053, allocations: 0.9099 MB / 1.264 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.053, allocations: 6.625 kB / 1.264 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003903/1.053, allocations: 228.8 kB / 1.264 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003653/1.057, allocations: 0.6383 MB / 1.265 GB, free: 180 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00291/1.06, allocations: 2.08 MB / 1.267 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007335/1.06, allocations: 1.184 MB / 1.268 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001262/1.062, allocations: 415.5 kB / 1.268 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001891/1.062, allocations: 79.12 kB / 1.268 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of SimCode: time 7.22e-07/1.062, allocations: 0 / 1.268 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.03462/1.096, allocations: 19.1 MB / 1.287 GB, free: 172 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)