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.001156/0.001156, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001168/0.001168, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.405/1.405, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.79/2.79, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.001351, allocations: 62.61 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3081, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1691/0.4773, allocations: 159.4 MB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004712/0.4821, allocations: 3.638 MB / 1.227 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000295/0.4824, allocations: 15.88 kB / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005627/0.483, allocations: 135.1 kB / 1.227 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00128/0.4843, allocations: 0.5014 MB / 1.227 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.4854, allocations: 394.5 kB / 1.228 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00332/0.4887, allocations: 3.514 MB / 1.231 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002623/0.4914, allocations: 2.239 MB / 1.233 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001788/0.4932, allocations: 0.922 MB / 1.234 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008844/0.4941, allocations: 0.7311 MB / 1.235 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.4942, allocations: 44 kB / 1.235 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.4958, allocations: 0.8068 MB / 1.236 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003173/0.4961, allocations: 290.9 kB / 1.236 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006802/0.4968, allocations: 0.5283 MB / 1.237 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001745/0.4986, allocations: 1.398 MB / 1.238 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4986, allocations: 0 / 1.238 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.42e-07/0.4986, allocations: 0 / 1.238 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.869e-05/0.4986, allocations: 0 / 1.238 GB, free: 11.77 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.002374/0.501, allocations: 1.456 MB / 1.239 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.501, allocations: 8.031 kB / 1.239 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007909/0.5018, allocations: 198.4 kB / 1.24 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.503, allocations: 0.8024 MB / 1.24 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.439e-05/0.5031, allocations: 48.94 kB / 1.24 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.535e-05/0.5032, allocations: 59.98 kB / 1.24 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.5044, allocations: 0.8199 MB / 1.241 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.5044, allocations: 7.938 kB / 1.241 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.488e-05/0.5045, allocations: 23.98 kB / 1.241 GB, free: 8.152 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/0.5045, allocations: 16 kB / 1.241 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009435/0.5055, allocations: 0.5578 MB / 1.242 GB, free: 7.578 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.003876/0.5094, allocations: 4.208 MB / 1.246 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007691/0.5102, allocations: 437.2 kB / 1.246 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004826/0.5106, allocations: 348.8 kB / 1.247 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000313/0.511, allocations: 198.2 kB / 1.247 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005474/0.5115, allocations: 327.1 kB / 1.247 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002688/0.5118, allocations: 39.59 kB / 1.247 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.194e-06/0.5118, allocations: 0 / 1.247 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.001425/0.5132, allocations: 0.6927 MB / 1.248 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.5133, allocations: 89.05 kB / 1.248 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5482/1.062, allocations: 1.15 MB / 1.249 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001197/1.062, allocations: 37.27 kB / 1.249 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003911/1.062, allocations: 490.7 kB / 1.25 GB, free: 186 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.584e-05/1.062, allocations: 115.5 kB / 1.25 GB, free: 186 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/1.062, allocations: 114 kB / 1.25 GB, free: 186 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.188e-05/1.062, allocations: 326.5 kB / 1.25 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004921/1.063, allocations: 237 kB / 1.25 GB, free: 185.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006221/1.064, allocations: 0.537 MB / 1.251 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000951/1.065, allocations: 0.6766 MB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/1.065, allocations: 5.391 kB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001475/1.066, allocations: 0.7719 MB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/1.066, allocations: 34.45 kB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/1.066, allocations: 7.688 kB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/1.066, allocations: 8.062 kB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005292/1.067, allocations: 122.1 kB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/1.067, allocations: 17.89 kB / 1.252 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008491/1.068, allocations: 73.48 kB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.915e-05/1.068, allocations: 25.66 kB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008275/1.068, allocations: 0.5169 MB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005451/1.069, allocations: 0.5066 MB / 1.254 GB, free: 184.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007868/1.07, allocations: 0.5933 MB / 1.254 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.027e-06/1.07, allocations: 1.75 kB / 1.254 GB, free: 184.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001125/1.071, allocations: 0.6956 MB / 1.255 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/1.071, allocations: 33.67 kB / 1.255 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-06/1.071, allocations: 6.031 kB / 1.255 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/1.071, allocations: 15.44 kB / 1.255 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/1.072, allocations: 106.2 kB / 1.255 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/1.072, allocations: 15.69 kB / 1.255 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008067/1.072, allocations: 87.91 kB / 1.255 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.583e-05/1.072, allocations: 26.09 kB / 1.255 GB, free: 184.1 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.0001707/1.073, allocations: 224.6 kB / 1.255 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/1.073, allocations: 105.2 kB / 1.255 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009754/1.074, allocations: 0.536 MB / 1.256 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/1.074, allocations: 2.625 kB / 1.256 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.074, allocations: 5 kB / 1.256 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/1.074, allocations: 4.703 kB / 1.256 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/1.076, allocations: 1.498 MB / 1.257 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/1.076, allocations: 2.969 kB / 1.257 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/1.076, allocations: 71.83 kB / 1.258 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/1.076, allocations: 2.719 kB / 1.258 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/1.076, allocations: 12.3 kB / 1.258 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/1.076, allocations: 6.25 kB / 1.258 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.076, allocations: 2.656 kB / 1.258 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007152/1.077, allocations: 0.6613 MB / 1.258 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002515/1.077, allocations: 221.9 kB / 1.258 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/1.077, allocations: 9.625 kB / 1.258 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005744/1.078, allocations: 59.27 kB / 1.258 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.307e-05/1.078, allocations: 35.67 kB / 1.258 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/1.078, allocations: 13.59 kB / 1.259 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009057/1.079, allocations: 0.8136 MB / 1.259 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.079, allocations: 0 / 1.259 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001003/1.08, allocations: 425.5 kB / 1.26 GB, free: 182.8 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.0003964/1.08, allocations: 177.6 kB / 1.26 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001352/1.081, allocations: 0.8875 MB / 1.261 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/1.081, allocations: 0 / 1.261 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004046/1.082, allocations: 233.8 kB / 1.261 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/1.085, allocations: 0.6321 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.00276/1.088, allocations: 2.066 MB / 1.264 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007065/1.088, allocations: 1.181 MB / 1.265 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001282/1.09, allocations: 415.4 kB / 1.265 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/1.09, allocations: 82.94 kB / 1.265 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/1.09, allocations: 0 / 1.265 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.04131/1.131, allocations: 19.23 MB / 1.284 GB, free: 174.2 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)