Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 110 kB / 16.36 MB, free: 5.992 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.001833/0.001833, allocations: 193.3 kB / 17.3 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.769/1.769, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 72.47 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2273, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.004111/0.2315, allocations: 2.101 MB / 0.7869 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4198/0.6513, allocations: 2.468 MB / 0.7893 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.6515, allocations: 5.094 kB / 0.7893 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.6527, allocations: 0.4996 MB / 0.7898 GB, free: 46.45 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.653, allocations: 111.1 kB / 0.7899 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004708/0.6535, allocations: 207.6 kB / 0.7901 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003636/0.6538, allocations: 359.2 kB / 0.7904 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.654, allocations: 66.42 kB / 0.7905 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.6541, allocations: 118.2 kB / 0.7906 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.6543, allocations: 141.4 kB / 0.7907 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.598e-05/0.6543, allocations: 7.875 kB / 0.7907 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.6545, allocations: 68.86 kB / 0.7908 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.6546, allocations: 121.4 kB / 0.7909 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.6547, allocations: 222.2 kB / 0.7911 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004889/0.6552, allocations: 0.6778 MB / 0.7918 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6553, allocations: 0 / 0.7918 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6553, allocations: 1.688 kB / 0.7918 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.6553, allocations: 0 / 0.7918 GB, free: 46.12 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009796/0.6563, allocations: 0.8754 MB / 0.7926 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.6563, allocations: 9.625 kB / 0.7926 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.717e-05/0.6564, allocations: 70.17 kB / 0.7927 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.6568, allocations: 423.2 kB / 0.7931 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.6568, allocations: 9.531 kB / 0.7931 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.6568, allocations: 7.344 kB / 0.7931 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.657, allocations: 95.06 kB / 0.7932 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.657, allocations: 4.312 kB / 0.7932 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.657, allocations: 3.5 kB / 0.7932 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.657, allocations: 0 / 0.7932 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.6572, allocations: 44.08 kB / 0.7933 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006395/0.6578, allocations: 0.5185 MB / 0.7938 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003529/0.6582, allocations: 100.8 kB / 0.7939 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.784e-05/0.6582, allocations: 32.5 kB / 0.7939 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.6583, allocations: 3.375 kB / 0.7939 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.6584, allocations: 90.62 kB / 0.794 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.6584, allocations: 0 / 0.794 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003374/0.6588, allocations: 192.2 kB / 0.7942 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.6588, allocations: 109.2 kB / 0.7943 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007646/0.6596, allocations: 0.8873 MB / 0.7951 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.6596, allocations: 26.83 kB / 0.7952 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.6598, allocations: 304.8 kB / 0.7955 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.6598, allocations: 21.86 kB / 0.7955 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.6599, allocations: 27.39 kB / 0.7955 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.744e-05/0.6599, allocations: 309.5 kB / 0.7958 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.143e-05/0.66, allocations: 32.11 kB / 0.7958 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.44e-05/0.6601, allocations: 79.64 kB / 0.7959 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.6602, allocations: 69.16 kB / 0.796 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6602, allocations: 0 / 0.796 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002139/0.6605, allocations: 162 kB / 0.7961 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.6605, allocations: 3.344 kB / 0.7961 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.6605, allocations: 0 / 0.7961 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.6605, allocations: 3.438 kB / 0.7961 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.501e-05/0.6606, allocations: 16.55 kB / 0.7962 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.6606, allocations: 8.062 kB / 0.7962 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.6607, allocations: 16.5 kB / 0.7962 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.6607, allocations: 1.359 kB / 0.7962 GB, free: 43.81 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0002264/0.661, allocations: 315 kB / 0.7965 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.483e-05/0.661, allocations: 62.69 kB / 0.7965 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.657e-05/0.6611, allocations: 79.67 kB / 0.7966 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.6611, allocations: 3.5 kB / 0.7966 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.6612, allocations: 3.938 kB / 0.7966 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.6612, allocations: 1.406 kB / 0.7966 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/0.6615, allocations: 384.2 kB / 0.797 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6615, allocations: 3.406 kB / 0.797 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.6615, allocations: 6.656 kB / 0.797 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.6615, allocations: 4.688 kB / 0.797 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.6615, allocations: 3.75 kB / 0.797 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.6615, allocations: 0 / 0.797 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.6615, allocations: 4.875 kB / 0.797 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.6618, allocations: 192.4 kB / 0.7972 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.7e-05/0.6619, allocations: 136.3 kB / 0.7973 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.138e-05/0.662, allocations: 8.141 kB / 0.7973 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.6621, allocations: 3.344 kB / 0.7973 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.6622, allocations: 13.69 kB / 0.7973 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.6622, allocations: 13.05 kB / 0.7974 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005987/0.6628, allocations: 0.6512 MB / 0.798 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6.91e-07/0.6628, allocations: 4.562 kB / 0.798 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002823/0.6631, allocations: 61.53 kB / 0.7981 GB, free: 43.11 MB / 0.6544 GB 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.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0009447/0.664, allocations: 423.5 kB / 0.7985 GB, free: 43 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002166/0.6643, allocations: 70.33 kB / 0.7985 GB, free: 43 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.6643, allocations: 0 / 0.7985 GB, free: 43 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.077e-05/0.6644, allocations: 43.77 kB / 0.7986 GB, free: 43 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005806/0.665, allocations: 152.7 kB / 0.7987 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.6662, allocations: 1.072 MB / 0.7998 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/0.6667, allocations: 0.9803 MB / 0.8007 GB, free: 41.93 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001343/0.6668, allocations: 42.5 kB / 0.8008 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.24e-05/0.6669, allocations: 21.92 kB / 0.8008 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of SimCode: time 3.3e-07/0.6669, allocations: 0 / 0.8008 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of Templates: time 0.01352/0.6804, allocations: 5.694 MB / 0.8063 GB, free: 41.64 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1)