Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6069/0.6069, allocations: 94.69 MB / 107.3 MB, free: 5.176 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002202/0.002202, allocations: 163.7 kB / 130.7 MB, free: 7.547 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.918/1.918, allocations: 170.5 MB / 324.5 MB, free: 3.988 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001695/0.001695, allocations: 108.2 kB / 386.6 MB, free: 16.31 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.92e-05/4.924e-05, allocations: 7.938 kB / 456 MB, free: 11.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5972/0.5973, allocations: 61.51 MB / 0.5054 GB, free: 49.64 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1776/0.775, allocations: 97.96 MB / 0.6011 GB, free: 13.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/0.7754, allocations: 94.53 kB / 0.6011 GB, free: 13.5 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Fluid/HeatExchangers/DXCoils/BaseClasses/SpeedSelect.mo:15:52-15:57:writable] Warning: Non-array modification '1' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.02469/0.8001, allocations: 9.448 MB / 0.6104 GB, free: 4.188 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.8002, allocations: 0 / 0.6104 GB, free: 4.188 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.369e-05/0.8002, allocations: 8 kB / 0.6104 GB, free: 4.18 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008723/0.8011, allocations: 0.6537 MB / 0.611 GB, free: 3.469 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.8011, allocations: 8.031 kB / 0.611 GB, free: 3.461 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.512e-05/0.8012, allocations: 54.25 kB / 0.6111 GB, free: 3.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006368/0.8019, allocations: 375.9 kB / 0.6114 GB, free: 3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.8019, allocations: 8 kB / 0.6114 GB, free: 2.992 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.802, allocations: 4.516 kB / 0.6115 GB, free: 2.988 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.8021, allocations: 73.62 kB / 0.6115 GB, free: 2.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.8021, allocations: 0 / 0.6115 GB, free: 2.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.8022, allocations: 7.984 kB / 0.6115 GB, free: 2.902 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.8022, allocations: 0 / 0.6115 GB, free: 2.902 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.562e-05/0.8022, allocations: 32 kB / 0.6116 GB, free: 2.871 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006705/0.8029, allocations: 432.6 kB / 0.612 GB, free: 2.398 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.8031, allocations: 70.5 kB / 0.612 GB, free: 2.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.286e-05/0.8031, allocations: 40.88 kB / 0.6121 GB, free: 2.277 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.019e-06/0.8031, allocations: 4 kB / 0.6121 GB, free: 2.273 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001474/0.8033, allocations: 83.39 kB / 0.6122 GB, free: 2.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.8033, allocations: 0 / 0.6122 GB, free: 2.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003739/0.8037, allocations: 214.6 kB / 0.6124 GB, free: 1.957 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/0.8038, allocations: 81.11 kB / 0.6124 GB, free: 1.859 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008265/0.8046, allocations: 0.6323 MB / 0.6131 GB, free: 1.219 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.8046, allocations: 29.7 kB / 0.6131 GB, free: 1.184 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/0.8049, allocations: 264.1 kB / 0.6133 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.8049, allocations: 15.8 kB / 0.6134 GB, free: 0.9062 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.805, allocations: 0 / 0.6134 GB, free: 0.9062 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002367/0.8052, allocations: 374.8 kB / 0.6137 GB, free: 0.5312 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.471e-05/0.8053, allocations: 35.98 kB / 0.6137 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.668e-05/0.8053, allocations: 35.98 kB / 0.6138 GB, free: 472 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.7e-05/0.8054, allocations: 95.38 kB / 0.6139 GB, free: 364 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.8055, allocations: 0 / 0.6139 GB, free: 364 kB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003178/0.8058, allocations: 256.3 kB / 0.6141 GB, free: 88 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.773e-05/0.8059, allocations: 65.12 kB / 0.6142 GB, free: 12 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.8059, allocations: 0 / 0.6142 GB, free: 12 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.8059, allocations: 0 / 0.6142 GB, free: 12 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.082e-05/0.8059, allocations: 6.156 kB / 0.6142 GB, free: 8 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.8059, allocations: 2.031 kB / 0.6142 GB, free: 8 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.551e-05/0.806, allocations: 7.984 kB / 0.6142 GB, free: 0 / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.025e-05/0.8061, allocations: 4.047 kB / 0.6142 GB, free: 15.99 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.sta.y,sta.y,$PRE.sta.nextTime,sta.nextTime,$PRE.sta.index,sta.index) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.8062, allocations: 138.5 kB / 0.6143 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.611e-05/0.8063, allocations: 59.23 kB / 0.6144 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.809e-05/0.8064, allocations: 68.09 kB / 0.6145 GB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.8064, allocations: 7.984 kB / 0.6145 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.8064, allocations: 0 / 0.6145 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.8064, allocations: 0 / 0.6145 GB, free: 15.71 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003725/0.8068, allocations: 317.5 kB / 0.6148 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8068, allocations: 0 / 0.6148 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-06/0.8068, allocations: 0 / 0.6148 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.8069, allocations: 4 kB / 0.6148 GB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.8069, allocations: 7.953 kB / 0.6148 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.8069, allocations: 0 / 0.6148 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8069, allocations: 0 / 0.6148 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.8072, allocations: 246 kB / 0.615 GB, free: 15.08 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.8073, allocations: 120.5 kB / 0.6151 GB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.537e-05/0.8074, allocations: 3.984 kB / 0.6151 GB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.725e-05/0.8075, allocations: 11.95 kB / 0.6151 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.8075, allocations: 4 kB / 0.6151 GB, free: 14.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.8076, allocations: 7.984 kB / 0.6152 GB, free: 14.91 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006803/0.8083, allocations: 0.5321 MB / 0.6157 GB, free: 14.39 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8083, allocations: 0 / 0.6157 GB, free: 14.39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003418/0.8086, allocations: 59.98 kB / 0.6157 GB, free: 14.33 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.nextTime,sta.index) * Number of discrete states: 2 (sta.nextTime,sta.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005963/0.8092, allocations: 282 kB / 0.616 GB, free: 14.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002716/0.8095, allocations: 190.7 kB / 0.6162 GB, free: 13.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8095, allocations: 4 kB / 0.6162 GB, free: 13.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.8096, allocations: 95.39 kB / 0.6163 GB, free: 13.73 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005016/0.8102, allocations: 108.9 kB / 0.6164 GB, free: 13.64 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.8114, allocations: 0.7424 MB / 0.6171 GB, free: 12.87 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007209/0.8122, allocations: 0.9468 MB / 0.618 GB, free: 11.89 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.017e-05/0.8123, allocations: 21.53 kB / 0.618 GB, free: 11.88 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.8123, allocations: 11.44 kB / 0.6181 GB, free: 11.87 MB / 442.7 MB Notification: Performance of SimCode: time 7.82e-07/0.8123, allocations: 0 / 0.6181 GB, free: 11.87 MB / 442.7 MB Notification: Performance of Templates: time 0.01195/0.8242, allocations: 5.422 MB / 0.6234 GB, free: 6.527 MB / 442.7 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)