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.6003/0.6003, allocations: 94.78 MB / 102.3 MB, free: 10.15 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.001965/0.001966, allocations: 176.3 kB / 125.6 MB, free: 11.9 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 2.002/2.002, allocations: 170.6 MB / 319.4 MB, free: 9.352 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.001827/0.001827, allocations: 108.6 kB / 381.3 MB, free: 18.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.33e-05/3.312e-05, allocations: 8 kB / 449.1 MB, free: 1.742 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.221, allocations: 61.53 MB / 0.4987 GB, free: 4.121 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6294/0.8505, allocations: 97.29 MB / 0.5937 GB, free: 4.668 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004719/0.8511, allocations: 87.94 kB / 0.5938 GB, free: 4.582 MB / 410.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.02634/0.8775, allocations: 9.306 MB / 0.6029 GB, free: 11.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.706e-06/0.8775, allocations: 0 / 0.6029 GB, free: 11.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.634e-05/0.8776, allocations: 8 kB / 0.6029 GB, free: 11.37 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.001025/0.8786, allocations: 0.6506 MB / 0.6035 GB, free: 10.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.784e-05/0.8787, allocations: 12.03 kB / 0.6035 GB, free: 10.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.8788, allocations: 51.34 kB / 0.6036 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007373/0.8796, allocations: 371.9 kB / 0.6039 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.8796, allocations: 7.984 kB / 0.6039 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.8796, allocations: 0 / 0.6039 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001011/0.8797, allocations: 34.23 kB / 0.604 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.8799, allocations: 73.03 kB / 0.604 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.238e-05/0.88, allocations: 4 kB / 0.604 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.88, allocations: 0 / 0.604 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.88, allocations: 4 kB / 0.604 GB, free: 10.08 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007776/0.8808, allocations: 416 kB / 0.6044 GB, free: 9.641 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.881, allocations: 58.56 kB / 0.6045 GB, free: 9.574 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.249e-05/0.881, allocations: 36.94 kB / 0.6045 GB, free: 9.535 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.8811, allocations: 3.953 kB / 0.6045 GB, free: 9.531 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001856/0.8813, allocations: 90.88 kB / 0.6046 GB, free: 9.434 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.8813, allocations: 4 kB / 0.6046 GB, free: 9.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004134/0.8817, allocations: 176.9 kB / 0.6048 GB, free: 9.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.059e-05/0.8818, allocations: 85.11 kB / 0.6049 GB, free: 9.148 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008516/0.8826, allocations: 0.6024 MB / 0.6055 GB, free: 8.543 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.8827, allocations: 29.7 kB / 0.6055 GB, free: 8.508 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.883, allocations: 256.1 kB / 0.6057 GB, free: 8.254 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.883, allocations: 19.8 kB / 0.6058 GB, free: 8.234 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-06/0.883, allocations: 7.938 kB / 0.6058 GB, free: 8.227 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002607/0.8833, allocations: 370.8 kB / 0.6061 GB, free: 7.855 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.504e-05/0.8834, allocations: 35.98 kB / 0.6061 GB, free: 7.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.561e-05/0.8834, allocations: 32.69 kB / 0.6062 GB, free: 7.789 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.8836, allocations: 35.97 kB / 0.6062 GB, free: 7.754 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.8836, allocations: 0 / 0.6062 GB, free: 7.754 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003084/0.8839, allocations: 193.7 kB / 0.6064 GB, free: 7.559 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.373e-05/0.884, allocations: 64.45 kB / 0.6065 GB, free: 7.484 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.884, allocations: 3.938 kB / 0.6065 GB, free: 7.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.743e-05/0.8841, allocations: 8 kB / 0.6065 GB, free: 7.473 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.102e-05/0.8841, allocations: 0 / 0.6065 GB, free: 7.473 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.303e-05/0.8841, allocations: 6.609 kB / 0.6065 GB, free: 7.469 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.8842, allocations: 4 kB / 0.6065 GB, free: 7.465 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/0.8843, allocations: 4 kB / 0.6065 GB, free: 7.461 MB / 426.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.0001357/0.8844, allocations: 130.7 kB / 0.6066 GB, free: 7.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.116e-05/0.8845, allocations: 51.34 kB / 0.6067 GB, free: 7.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.8846, allocations: 68.77 kB / 0.6067 GB, free: 7.199 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.8846, allocations: 4 kB / 0.6067 GB, free: 7.195 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.8846, allocations: 4 kB / 0.6067 GB, free: 7.191 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.8847, allocations: 0 / 0.6067 GB, free: 7.191 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003732/0.885, allocations: 302 kB / 0.607 GB, free: 6.859 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.885, allocations: 0 / 0.607 GB, free: 6.859 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.699e-06/0.8851, allocations: 0 / 0.607 GB, free: 6.859 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.8851, allocations: 0 / 0.607 GB, free: 6.859 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.8851, allocations: 8 kB / 0.607 GB, free: 6.852 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.8851, allocations: 0 / 0.607 GB, free: 6.852 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.355e-06/0.8851, allocations: 5.203 kB / 0.607 GB, free: 6.848 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.8854, allocations: 215.5 kB / 0.6072 GB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.8856, allocations: 124.4 kB / 0.6074 GB, free: 6.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.8856, allocations: 0 / 0.6074 GB, free: 6.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.8857, allocations: 7.984 kB / 0.6074 GB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.832e-05/0.8858, allocations: 4 kB / 0.6074 GB, free: 6.469 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.8858, allocations: 15.94 kB / 0.6074 GB, free: 6.453 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006624/0.8865, allocations: 0.4951 MB / 0.6079 GB, free: 5.961 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8865, allocations: 0 / 0.6079 GB, free: 5.961 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003479/0.8869, allocations: 55.98 kB / 0.6079 GB, free: 5.906 MB / 426.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.0006776/0.8876, allocations: 283.1 kB / 0.6082 GB, free: 5.633 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000304/0.8879, allocations: 190.7 kB / 0.6084 GB, free: 5.422 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.8879, allocations: 0 / 0.6084 GB, free: 5.422 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.8881, allocations: 91.39 kB / 0.6085 GB, free: 5.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005604/0.8887, allocations: 109.1 kB / 0.6086 GB, free: 5.223 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.89, allocations: 0.7336 MB / 0.6093 GB, free: 4.461 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007935/0.8908, allocations: 0.9504 MB / 0.6102 GB, free: 3.484 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.941e-05/0.8909, allocations: 17.81 kB / 0.6102 GB, free: 3.469 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.891, allocations: 20.22 kB / 0.6102 GB, free: 3.453 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.891, allocations: 0 / 0.6102 GB, free: 3.453 MB / 426.7 MB Notification: Performance of Templates: time 0.01109/0.9021, allocations: 4.196 MB / 0.6143 GB, free: 15.34 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)