Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.784/1.784, allocations: 292.3 MB / 308.1 MB, free: 4.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001485/0.001485, allocations: 190.4 kB / 376.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.1 MB / 0.6354 GB, free: 9.789 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 105.2 kB / 0.748 GB, free: 61.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 55.91 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2408, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.6698/0.9106, allocations: 159.3 MB / 1.138 GB, free: 2.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00511/0.9158, allocations: 3.633 MB / 1.141 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000648/0.9165, allocations: 9.875 kB / 1.141 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0007846/0.9174, allocations: 143.9 kB / 1.142 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.919, allocations: 0.4968 MB / 1.142 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.9204, allocations: 382.1 kB / 1.142 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0034/0.9238, allocations: 3.537 MB / 1.146 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002716/0.9266, allocations: 2.233 MB / 1.148 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001974/0.9286, allocations: 0.9331 MB / 1.149 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001325/0.9299, allocations: 0.7487 MB / 1.15 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001915/0.9301, allocations: 43.59 kB / 1.15 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.9318, allocations: 0.8071 MB / 1.15 GB, free: 12.13 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0004117/0.9323, allocations: 286.4 kB / 1.151 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.000929/0.9332, allocations: 0.5226 MB / 1.151 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.9353, allocations: 1.407 MB / 1.153 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.9354, allocations: 0 / 1.153 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.152e-06/0.9354, allocations: 4 kB / 1.153 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.565e-05/0.9354, allocations: 0 / 1.153 GB, free: 11.23 MB / 0.7605 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.00359/0.939, allocations: 1.456 MB / 1.154 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.9391, allocations: 9.531 kB / 1.154 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009562/0.9401, allocations: 188.8 kB / 1.154 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/0.9417, allocations: 0.8036 MB / 1.155 GB, free: 9.684 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.474e-05/0.9418, allocations: 43.75 kB / 1.155 GB, free: 9.668 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.433e-05/0.9419, allocations: 58.53 kB / 1.155 GB, free: 9.652 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.9432, allocations: 0.8267 MB / 1.156 GB, free: 9.215 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.9432, allocations: 3 kB / 1.156 GB, free: 9.215 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.835e-05/0.9433, allocations: 22.53 kB / 1.156 GB, free: 9.199 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.9433, allocations: 19.55 kB / 1.156 GB, free: 9.195 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009618/0.9443, allocations: 0.5656 MB / 1.157 GB, free: 9.031 MB / 0.7605 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.004284/0.9485, allocations: 4.215 MB / 1.161 GB, free: 5.672 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007435/0.9493, allocations: 446.5 kB / 1.161 GB, free: 5.527 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004333/0.9498, allocations: 347.7 kB / 1.161 GB, free: 5.406 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002999/0.9501, allocations: 187.8 kB / 1.162 GB, free: 5.219 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004867/0.9506, allocations: 322.1 kB / 1.162 GB, free: 5.086 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002907/0.9509, allocations: 41.38 kB / 1.162 GB, free: 5.055 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 2.655e-06/0.9509, allocations: 0 / 1.162 GB, free: 5.055 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.001387/0.9523, allocations: 0.6934 MB / 1.163 GB, free: 4.82 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.9523, allocations: 80.3 kB / 1.163 GB, free: 4.727 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.9538, allocations: 1.159 MB / 1.164 GB, free: 4.324 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.383e-05/0.9539, allocations: 35.52 kB / 1.164 GB, free: 4.289 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004158/0.9543, allocations: 0.4914 MB / 1.164 GB, free: 3.898 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.9544, allocations: 117.1 kB / 1.164 GB, free: 3.809 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.9546, allocations: 110.5 kB / 1.165 GB, free: 3.758 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.9547, allocations: 328 kB / 1.165 GB, free: 3.441 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003766/0.9551, allocations: 236.6 kB / 1.165 GB, free: 3.371 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006152/0.9557, allocations: 0.5483 MB / 1.166 GB, free: 2.926 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009329/0.9567, allocations: 0.6785 MB / 1.166 GB, free: 2.52 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.9567, allocations: 0 / 1.166 GB, free: 2.52 MB / 0.7605 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001332/0.958, allocations: 0.7578 MB / 1.167 GB, free: 2.223 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/0.9581, allocations: 39.2 kB / 1.167 GB, free: 2.188 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.9581, allocations: 6.219 kB / 1.167 GB, free: 2.188 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.9582, allocations: 7.344 kB / 1.167 GB, free: 2.188 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/0.9587, allocations: 112.8 kB / 1.167 GB, free: 2.18 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/0.9587, allocations: 14.64 kB / 1.167 GB, free: 2.176 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009044/0.9596, allocations: 86.22 kB / 1.167 GB, free: 2.148 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-05/0.9597, allocations: 30.3 kB / 1.167 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007224/0.9604, allocations: 0.5197 MB / 1.168 GB, free: 1.945 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005853/0.961, allocations: 0.5032 MB / 1.168 GB, free: 1.508 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000798/0.9618, allocations: 0.6055 MB / 1.169 GB, free: 1.113 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.977e-06/0.9618, allocations: 2.938 kB / 1.169 GB, free: 1.113 MB / 0.7605 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001118/0.963, allocations: 0.6824 MB / 1.17 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.963, allocations: 37.17 kB / 1.17 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.963, allocations: 2.938 kB / 1.17 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.963, allocations: 10.94 kB / 1.17 GB, free: 0.8008 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/0.9635, allocations: 113.9 kB / 1.17 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.9635, allocations: 15.08 kB / 1.17 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009697/0.9645, allocations: 90 kB / 1.17 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.117e-05/0.9646, allocations: 20 kB / 1.17 GB, free: 0.7578 MB / 0.7605 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.0002647/0.9648, allocations: 219 kB / 1.17 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.965, allocations: 105 kB / 1.17 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.9661, allocations: 0.5382 MB / 1.171 GB, free: 308 kB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.9661, allocations: 3.219 kB / 1.171 GB, free: 308 kB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.9662, allocations: 0 / 1.171 GB, free: 308 kB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.9662, allocations: 12.66 kB / 1.171 GB, free: 304 kB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002469/0.9686, allocations: 1.484 MB / 1.172 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.9687, allocations: 4.031 kB / 1.172 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003455/0.969, allocations: 72.62 kB / 1.172 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/0.969, allocations: 10.67 kB / 1.172 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.9691, allocations: 6.969 kB / 1.172 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.9691, allocations: 3.344 kB / 1.172 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.9691, allocations: 3.812 kB / 1.172 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/0.9709, allocations: 1.645 MB / 1.174 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004818/0.9714, allocations: 227 kB / 1.174 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/0.9716, allocations: 11 kB / 1.174 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007199/0.9723, allocations: 51.38 kB / 1.174 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.9725, allocations: 42.77 kB / 1.174 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.9725, allocations: 17.72 kB / 1.174 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001169/0.9737, allocations: 0.8215 MB / 1.175 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3e-07/0.9737, allocations: 0 / 1.175 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001456/0.9752, allocations: 424.8 kB / 1.175 GB, free: 13.86 MB / 0.7761 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.0004589/0.9756, allocations: 168 kB / 1.176 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001492/0.9771, allocations: 0.9065 MB / 1.176 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.9772, allocations: 0.75 kB / 1.176 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003739/0.9775, allocations: 228.1 kB / 1.177 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003293/0.9808, allocations: 0.6406 MB / 1.177 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003666/0.9845, allocations: 2.302 MB / 1.18 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009957/0.9855, allocations: 1.192 MB / 1.181 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001355/0.9869, allocations: 406.8 kB / 1.181 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/0.9871, allocations: 79.39 kB / 1.181 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of SimCode: time 1.343e-06/0.9872, allocations: 2.25 kB / 1.181 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of Templates: time 0.04415/1.031, allocations: 19.69 MB / 1.2 GB, free: 9.695 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)