Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.797/2.797, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 69.11 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3419, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03206/0.374, allocations: 33.19 MB / 1.101 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01746/0.3915, allocations: 12.31 MB / 1.113 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001833/0.3933, allocations: 55.69 kB / 1.113 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.007707/0.4011, allocations: 3.967 MB / 1.117 GB, free: 8.738 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004748/0.4058, allocations: 1.637 MB / 1.118 GB, free: 7.094 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003677/0.4095, allocations: 1.44 MB / 1.12 GB, free: 5.66 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.009706/0.4192, allocations: 7.666 MB / 1.127 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002766/0.422, allocations: 2.094 MB / 1.129 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004832/0.4269, allocations: 1.864 MB / 1.131 GB, free: 9.988 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002407/0.4293, allocations: 1.404 MB / 1.132 GB, free: 8.578 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003095/0.4296, allocations: 144 kB / 1.132 GB, free: 8.438 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003792/0.4334, allocations: 1.338 MB / 1.134 GB, free: 7.098 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006662/0.4341, allocations: 0.5917 MB / 1.134 GB, free: 6.504 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001668/0.4358, allocations: 1.193 MB / 1.135 GB, free: 5.305 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005465/0.4412, allocations: 3.458 MB / 1.139 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4413, allocations: 0 / 1.139 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.475e-06/0.4413, allocations: 4 kB / 1.139 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.887e-05/0.4413, allocations: 3.938 kB / 1.139 GB, free: 1.828 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.004227/0.4455, allocations: 2.795 MB / 1.142 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.4456, allocations: 12.03 kB / 1.142 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00184/0.4474, allocations: 432.6 kB / 1.142 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003916/0.4514, allocations: 2.626 MB / 1.145 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.672e-05/0.4515, allocations: 86.28 kB / 1.145 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.4516, allocations: 111.8 kB / 1.145 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/0.4538, allocations: 1.32 MB / 1.146 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.4538, allocations: 3.938 kB / 1.146 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.4539, allocations: 44 kB / 1.146 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.454, allocations: 24 kB / 1.146 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.456, allocations: 1.026 MB / 1.147 GB, free: 9.125 MB / 0.9044 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.007572/0.4636, allocations: 6.929 MB / 1.154 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.465, allocations: 0.5954 MB / 1.154 GB, free: 1.168 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007245/0.4657, allocations: 399 kB / 1.155 GB, free: 0.7773 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002431/0.4681, allocations: 1.77 MB / 1.157 GB, free: 14.87 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007618/0.4689, allocations: 363 kB / 1.157 GB, free: 14.5 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003456/0.4693, allocations: 95.17 kB / 1.157 GB, free: 14.41 MB / 0.92 GB Notification: Performance of pre-optimization done (n=44): time 2.094e-06/0.4693, allocations: 0 / 1.157 GB, free: 14.41 MB / 0.92 GB Notification: Performance of matching and sorting (n=44): time 0.003488/0.4728, allocations: 1.368 MB / 1.158 GB, free: 13.01 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.4728, allocations: 67.34 kB / 1.158 GB, free: 12.93 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002639/0.4755, allocations: 2.372 MB / 1.161 GB, free: 10.54 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-05/0.4756, allocations: 37.7 kB / 1.161 GB, free: 10.5 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007997/0.4764, allocations: 0.9919 MB / 1.162 GB, free: 9.492 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.4765, allocations: 157.9 kB / 1.162 GB, free: 9.336 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003731/0.4769, allocations: 298.5 kB / 1.162 GB, free: 9.039 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.477, allocations: 361.9 kB / 1.162 GB, free: 8.68 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008924/0.4779, allocations: 0.4978 MB / 1.163 GB, free: 8.176 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/0.4792, allocations: 0.9931 MB / 1.164 GB, free: 6.965 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001933/0.4811, allocations: 1.347 MB / 1.165 GB, free: 5.461 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.4811, allocations: 4 kB / 1.165 GB, free: 5.457 MB / 0.92 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.003093/0.4842, allocations: 1.8 MB / 1.167 GB, free: 3.637 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.7e-05/0.4843, allocations: 45.84 kB / 1.167 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.4843, allocations: 8 kB / 1.167 GB, free: 3.578 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006719/0.485, allocations: 180.7 kB / 1.167 GB, free: 3.398 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008077/0.4858, allocations: 231.6 kB / 1.167 GB, free: 3.172 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006359/0.4864, allocations: 0.7591 MB / 1.168 GB, free: 2.387 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.4876, allocations: 84.61 kB / 1.168 GB, free: 2.305 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-05/0.4877, allocations: 55.97 kB / 1.168 GB, free: 2.25 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001538/0.4892, allocations: 1.018 MB / 1.169 GB, free: 1.227 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001164/0.4904, allocations: 0.9736 MB / 1.17 GB, free: 44 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001762/0.4922, allocations: 1.311 MB / 1.172 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.162e-06/0.4922, allocations: 4 kB / 1.172 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=164) (initialization_lambda0): time 0.00287/0.4951, allocations: 1.801 MB / 1.173 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.4951, allocations: 37.7 kB / 1.173 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.4951, allocations: 15.94 kB / 1.173 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002242/0.4954, allocations: 120.8 kB / 1.174 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007335/0.4961, allocations: 223.9 kB / 1.174 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/0.4983, allocations: 2.321 MB / 1.176 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.4994, allocations: 100.3 kB / 1.176 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.508e-05/0.4995, allocations: 55.98 kB / 1.176 GB, free: 9.715 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 114 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003559/0.4999, allocations: 248.5 kB / 1.176 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002674/0.5002, allocations: 213.3 kB / 1.177 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002343/0.5025, allocations: 1.029 MB / 1.178 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.5025, allocations: 8 kB / 1.178 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.5026, allocations: 7.875 kB / 1.178 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001642/0.5042, allocations: 0.974 MB / 1.179 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00367/0.5079, allocations: 2.316 MB / 1.181 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.5079, allocations: 3.938 kB / 1.181 GB, free: 4.762 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004668/0.5084, allocations: 87.92 kB / 1.181 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002876/0.5087, allocations: 120.8 kB / 1.181 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-05/0.5087, allocations: 19.97 kB / 1.181 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005368/0.5093, allocations: 0.7394 MB / 1.182 GB, free: 3.773 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5093, allocations: 4.062 kB / 1.182 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002514/0.5118, allocations: 1.405 MB / 1.183 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004857/0.5123, allocations: 358.3 kB / 1.183 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/0.5125, allocations: 12 kB / 1.183 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007361/0.5133, allocations: 48.02 kB / 1.184 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.5134, allocations: 40.31 kB / 1.184 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.081e-05/0.5134, allocations: 23.98 kB / 1.184 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002006/0.5154, allocations: 1.615 MB / 1.185 GB, free: 228 kB / 0.9356 GB Notification: Performance of sort global known variables: time 3.41e-07/0.5155, allocations: 0 / 1.185 GB, free: 228 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002353/0.5178, allocations: 0.9478 MB / 1.186 GB, free: 15.27 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001022/0.5188, allocations: 0.5329 MB / 1.187 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003579/0.5224, allocations: 2.059 MB / 1.189 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5225, allocations: 1.375 kB / 1.189 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007619/0.5232, allocations: 346.4 kB / 1.189 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003562/0.5268, allocations: 0.9801 MB / 1.19 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006221/0.533, allocations: 3.695 MB / 1.194 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/0.5342, allocations: 1.681 MB / 1.195 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001873/0.5361, allocations: 0.5398 MB / 1.196 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003569/0.5364, allocations: 163.3 kB / 1.196 GB, free: 5.199 MB / 0.9512 GB Notification: Performance of SimCode: time 7.32e-07/0.5364, allocations: 7.938 kB / 1.196 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of Templates: time 0.06608/0.6025, allocations: 39.42 MB / 1.234 GB, free: 14.24 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)