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.0019/0.0019, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002752/0.002752, allocations: 188.3 kB / 16.13 MB, free: 6.656 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.443/1.443, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.819/2.819, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.42 kB / 0.9114 GB, free: 33.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3273, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1607/0.488, allocations: 159.4 MB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004584/0.4927, allocations: 3.634 MB / 1.227 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003254/0.493, allocations: 15.88 kB / 1.227 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006117/0.4937, allocations: 135.2 kB / 1.227 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001433/0.4951, allocations: 0.498 MB / 1.227 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.4963, allocations: 393.9 kB / 1.228 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003073/0.4994, allocations: 3.518 MB / 1.231 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002496/0.5019, allocations: 2.247 MB / 1.233 GB, free: 492 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001767/0.5037, allocations: 0.918 MB / 1.234 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.5049, allocations: 0.739 MB / 1.235 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002147/0.5051, allocations: 40 kB / 1.235 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.5069, allocations: 0.8068 MB / 1.236 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003774/0.5073, allocations: 294.9 kB / 1.236 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000789/0.5081, allocations: 0.5244 MB / 1.237 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001882/0.51, allocations: 1.398 MB / 1.238 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.51, allocations: 0 / 1.238 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.51, allocations: 0 / 1.238 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.574e-05/0.51, allocations: 0 / 1.238 GB, free: 11.75 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.002765/0.5128, allocations: 1.455 MB / 1.239 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.5129, allocations: 12.03 kB / 1.239 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008284/0.5137, allocations: 194.4 kB / 1.24 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.5149, allocations: 0.8062 MB / 1.24 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/0.515, allocations: 45 kB / 1.24 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-05/0.5151, allocations: 60 kB / 1.24 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.5163, allocations: 0.8238 MB / 1.241 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.5163, allocations: 7.938 kB / 1.241 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.27e-05/0.5164, allocations: 16 kB / 1.241 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.5164, allocations: 19.94 kB / 1.241 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009696/0.5174, allocations: 0.5656 MB / 1.242 GB, free: 7.555 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.003931/0.5213, allocations: 4.208 MB / 1.246 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007506/0.5221, allocations: 430.8 kB / 1.246 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005007/0.5226, allocations: 344.9 kB / 1.247 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003062/0.5229, allocations: 194.2 kB / 1.247 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005437/0.5235, allocations: 323.1 kB / 1.247 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002516/0.5237, allocations: 39.58 kB / 1.247 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.765e-06/0.5237, allocations: 0 / 1.247 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.001469/0.5252, allocations: 0.7004 MB / 1.248 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.5253, allocations: 85.09 kB / 1.248 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5102/1.035, allocations: 1.148 MB / 1.249 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001295/1.036, allocations: 38.28 kB / 1.249 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005453/1.036, allocations: 492.2 kB / 1.25 GB, free: 186 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/1.036, allocations: 116.2 kB / 1.25 GB, free: 186 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002537/1.037, allocations: 114.1 kB / 1.25 GB, free: 185.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.873e-05/1.037, allocations: 324.6 kB / 1.25 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005606/1.037, allocations: 236.4 kB / 1.25 GB, free: 185.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007552/1.038, allocations: 0.5381 MB / 1.251 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/1.039, allocations: 0.676 MB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/1.039, allocations: 2 kB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001641/1.041, allocations: 0.7694 MB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.637e-05/1.041, allocations: 38.53 kB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/1.041, allocations: 8.875 kB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.386e-05/1.041, allocations: 8.906 kB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005589/1.042, allocations: 118.5 kB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-05/1.042, allocations: 16.45 kB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009881/1.043, allocations: 79.58 kB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.823e-05/1.043, allocations: 24.7 kB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008887/1.044, allocations: 0.5141 MB / 1.253 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005887/1.044, allocations: 0.5071 MB / 1.254 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008461/1.045, allocations: 0.5968 MB / 1.254 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.304e-06/1.045, allocations: 5.828 kB / 1.254 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001342/1.046, allocations: 0.6934 MB / 1.255 GB, free: 184 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/1.046, allocations: 33.86 kB / 1.255 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/1.046, allocations: 12.05 kB / 1.255 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/1.046, allocations: 11.53 kB / 1.255 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004798/1.047, allocations: 107.2 kB / 1.255 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/1.047, allocations: 15.05 kB / 1.255 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009942/1.048, allocations: 83.48 kB / 1.255 GB, free: 184 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.933e-05/1.048, allocations: 23.66 kB / 1.255 GB, free: 184 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.0002198/1.048, allocations: 225.7 kB / 1.255 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/1.049, allocations: 104.5 kB / 1.255 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/1.05, allocations: 0.5387 MB / 1.256 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/1.05, allocations: 5.828 kB / 1.256 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.05, allocations: 1.375 kB / 1.256 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/1.05, allocations: 3.562 kB / 1.256 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/1.052, allocations: 1.496 MB / 1.257 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.052, allocations: 2.75 kB / 1.257 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003373/1.052, allocations: 74.27 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.211e-05/1.052, allocations: 5.328 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/1.052, allocations: 8.656 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/1.052, allocations: 2.438 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.052, allocations: 2.625 kB / 1.258 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009434/1.053, allocations: 0.657 MB / 1.258 GB, free: 183 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004747/1.054, allocations: 228.9 kB / 1.258 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002357/1.054, allocations: 9 kB / 1.258 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007774/1.055, allocations: 58.47 kB / 1.258 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/1.055, allocations: 35.55 kB / 1.258 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/1.055, allocations: 14.03 kB / 1.258 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001171/1.056, allocations: 0.8176 MB / 1.259 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/1.056, allocations: 1.312 kB / 1.259 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001442/1.058, allocations: 419.3 kB / 1.26 GB, free: 182.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.0004566/1.058, allocations: 172.2 kB / 1.26 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001645/1.06, allocations: 0.896 MB / 1.261 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.06, allocations: 4.188 kB / 1.261 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004369/1.06, allocations: 233.5 kB / 1.261 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003299/1.063, allocations: 0.6329 MB / 1.262 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002903/1.066, allocations: 2.067 MB / 1.264 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007098/1.067, allocations: 1.181 MB / 1.265 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00133/1.068, allocations: 421.5 kB / 1.265 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/1.069, allocations: 79.48 kB / 1.265 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of SimCode: time 7.62e-07/1.069, allocations: 0 / 1.265 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.03699/1.106, allocations: 19.22 MB / 1.284 GB, free: 174.2 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)