Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.192/2.192, allocations: 391.2 MB / 407 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001505/0.001506, allocations: 181.6 kB / 499.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 0.7948 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001077, allocations: 90.02 kB / 0.9329 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.00116, allocations: 49.19 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2585, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1378/0.3963, allocations: 159.3 MB / 1.374 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.004835/0.4012, allocations: 3.649 MB / 1.377 GB, free: 1.676 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003246/0.4016, allocations: 15.88 kB / 1.377 GB, free: 1.66 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005659/0.4022, allocations: 135.2 kB / 1.377 GB, free: 1.527 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001198/0.4034, allocations: 0.4941 MB / 1.378 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.4044, allocations: 386.7 kB / 1.378 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.003162/0.4076, allocations: 3.536 MB / 1.382 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002516/0.4101, allocations: 2.247 MB / 1.384 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001724/0.4119, allocations: 0.9415 MB / 1.385 GB, free: 9.898 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009313/0.4128, allocations: 0.735 MB / 1.386 GB, free: 9.16 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.4129, allocations: 40 kB / 1.386 GB, free: 9.121 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.4144, allocations: 0.8068 MB / 1.386 GB, free: 8.312 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0002947/0.4147, allocations: 294.8 kB / 1.387 GB, free: 8.023 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0005964/0.4153, allocations: 0.5245 MB / 1.387 GB, free: 7.496 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.4169, allocations: 1.398 MB / 1.389 GB, free: 6.094 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4169, allocations: 0 / 1.389 GB, free: 6.094 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4169, allocations: 0 / 1.389 GB, free: 6.094 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.4169, allocations: 7.938 kB / 1.389 GB, free: 6.086 MB / 0.8855 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.002189/0.4191, allocations: 1.455 MB / 1.39 GB, free: 4.57 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.4191, allocations: 8.031 kB / 1.39 GB, free: 4.562 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007067/0.4199, allocations: 194.4 kB / 1.39 GB, free: 4.371 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.4211, allocations: 0.8024 MB / 1.391 GB, free: 3.512 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.326e-05/0.4212, allocations: 48.98 kB / 1.391 GB, free: 3.461 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.415e-05/0.4213, allocations: 63.94 kB / 1.391 GB, free: 3.398 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.4224, allocations: 0.82 MB / 1.392 GB, free: 2.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.4225, allocations: 0 / 1.392 GB, free: 2.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.482e-05/0.4225, allocations: 24 kB / 1.392 GB, free: 2.477 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.4225, allocations: 15.94 kB / 1.392 GB, free: 2.461 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008978/0.4234, allocations: 0.5618 MB / 1.392 GB, free: 1.898 MB / 0.8855 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.003904/0.4274, allocations: 4.211 MB / 1.397 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007049/0.4281, allocations: 443 kB / 1.397 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004601/0.4286, allocations: 339.9 kB / 1.397 GB, free: 12.64 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002896/0.4289, allocations: 194.2 kB / 1.397 GB, free: 12.42 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005199/0.4294, allocations: 323.2 kB / 1.398 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000244/0.4296, allocations: 39.53 kB / 1.398 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=33): time 2.174e-06/0.4296, allocations: 0 / 1.398 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of matching and sorting (n=33): time 0.00139/0.431, allocations: 0.6936 MB / 1.398 GB, free: 11.34 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.4311, allocations: 89.05 kB / 1.399 GB, free: 11.24 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.4324, allocations: 1.159 MB / 1.4 GB, free: 10.06 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.473e-05/0.4325, allocations: 33.7 kB / 1.4 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003869/0.4329, allocations: 492.4 kB / 1.4 GB, free: 9.539 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.421e-05/0.433, allocations: 118.4 kB / 1.4 GB, free: 9.422 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.4332, allocations: 114.2 kB / 1.4 GB, free: 9.305 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.4333, allocations: 322 kB / 1.401 GB, free: 8.984 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003866/0.4337, allocations: 238.9 kB / 1.401 GB, free: 8.75 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000629/0.4343, allocations: 0.5384 MB / 1.401 GB, free: 8.074 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008904/0.4352, allocations: 0.6935 MB / 1.402 GB, free: 7.301 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.4352, allocations: 0 / 1.402 GB, free: 7.301 MB / 0.9011 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001239/0.4365, allocations: 0.7668 MB / 1.403 GB, free: 6.52 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.83e-05/0.4365, allocations: 33.7 kB / 1.403 GB, free: 6.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.4365, allocations: 4 kB / 1.403 GB, free: 6.477 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.4366, allocations: 8.656 kB / 1.403 GB, free: 6.469 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005194/0.4371, allocations: 119.8 kB / 1.403 GB, free: 6.352 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/0.4371, allocations: 19.91 kB / 1.403 GB, free: 6.332 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008162/0.4379, allocations: 75.77 kB / 1.403 GB, free: 6.258 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.579e-05/0.438, allocations: 27.98 kB / 1.403 GB, free: 6.23 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007751/0.4388, allocations: 0.5164 MB / 1.404 GB, free: 5.711 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005257/0.4393, allocations: 0.4992 MB / 1.404 GB, free: 5.078 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007449/0.4401, allocations: 0.5958 MB / 1.405 GB, free: 4.402 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.116e-06/0.4401, allocations: 0 / 1.405 GB, free: 4.402 MB / 0.9011 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001118/0.4412, allocations: 0.6894 MB / 1.405 GB, free: 3.699 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/0.4413, allocations: 39.36 kB / 1.405 GB, free: 3.656 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.4413, allocations: 8 kB / 1.405 GB, free: 3.648 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.4413, allocations: 8 kB / 1.406 GB, free: 3.641 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004416/0.4417, allocations: 107.8 kB / 1.406 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.4418, allocations: 15.92 kB / 1.406 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008378/0.4426, allocations: 84.17 kB / 1.406 GB, free: 3.438 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-05/0.4427, allocations: 27.94 kB / 1.406 GB, free: 3.41 MB / 0.9011 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.0002115/0.4429, allocations: 220.7 kB / 1.406 GB, free: 3.188 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.443, allocations: 110.7 kB / 1.406 GB, free: 3.078 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009848/0.444, allocations: 0.535 MB / 1.407 GB, free: 2.535 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.444, allocations: 8 kB / 1.407 GB, free: 2.527 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.444, allocations: 0 / 1.407 GB, free: 2.527 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.444, allocations: 7.922 kB / 1.407 GB, free: 2.52 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/0.4462, allocations: 1.495 MB / 1.408 GB, free: 0.9492 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.4462, allocations: 4.219 kB / 1.408 GB, free: 0.9453 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003283/0.4465, allocations: 76.06 kB / 1.408 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.4466, allocations: 4 kB / 1.408 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.4466, allocations: 8 kB / 1.408 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.4466, allocations: 4 kB / 1.408 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.4466, allocations: 3.984 kB / 1.408 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.4482, allocations: 1.655 MB / 1.41 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003884/0.4486, allocations: 223.8 kB / 1.41 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.4487, allocations: 8 kB / 1.41 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005868/0.4493, allocations: 59.83 kB / 1.41 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.61e-05/0.4494, allocations: 35.84 kB / 1.41 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/0.4494, allocations: 15.98 kB / 1.41 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0009606/0.4504, allocations: 0.8159 MB / 1.411 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4504, allocations: 3.938 kB / 1.411 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001261/0.4517, allocations: 435.4 kB / 1.411 GB, free: 13.51 MB / 0.9167 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.0003986/0.4521, allocations: 165 kB / 1.411 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001404/0.4535, allocations: 0.8946 MB / 1.412 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4535, allocations: 0 / 1.412 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003802/0.4539, allocations: 237 kB / 1.413 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003214/0.4571, allocations: 0.6247 MB / 1.413 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/0.4602, allocations: 2.304 MB / 1.415 GB, free: 9.207 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006672/0.4609, allocations: 1.193 MB / 1.417 GB, free: 7.984 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001148/0.462, allocations: 420.3 kB / 1.417 GB, free: 7.57 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.4622, allocations: 75.42 kB / 1.417 GB, free: 7.496 MB / 0.9167 GB Notification: Performance of SimCode: time 1.012e-06/0.4623, allocations: 3.938 kB / 1.417 GB, free: 7.492 MB / 0.9167 GB Notification: Performance of Templates: time 0.4714/0.9337, allocations: 19.69 MB / 1.436 GB, free: 202.8 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)