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.001095/0.001095, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006331/0.006331, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.572/1.572, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.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.733/1.733, allocations: 292.7 MB / 0.5502 GB, free: 14.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.0007437/0.0007437, allocations: 15.72 kB / 0.6743 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2885, allocations: 116.3 MB / 0.7879 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.002648/0.2912, allocations: 1.798 MB / 0.7896 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002888/0.2941, allocations: 2.392 MB / 0.792 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.2943, allocations: 11.94 kB / 0.792 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.2955, allocations: 0.5021 MB / 0.7925 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.2957, allocations: 99.56 kB / 0.7926 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006209/0.2964, allocations: 194.8 kB / 0.7928 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004269/0.2968, allocations: 341.8 kB / 0.7931 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.297, allocations: 60.72 kB / 0.7931 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.2971, allocations: 115.4 kB / 0.7933 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.2974, allocations: 139.2 kB / 0.7934 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.2974, allocations: 11.94 kB / 0.7934 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.2976, allocations: 47.97 kB / 0.7934 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002077/0.2978, allocations: 127.5 kB / 0.7936 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002592/0.2981, allocations: 232.2 kB / 0.7938 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007638/0.2988, allocations: 0.6537 MB / 0.7944 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.2989, allocations: 0 / 0.7944 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.28e-06/0.2989, allocations: 4 kB / 0.7944 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.2989, allocations: 0 / 0.7944 GB, free: 4.789 MB / 0.6075 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.001483/0.3004, allocations: 0.7907 MB / 0.7952 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.452e-05/0.3004, allocations: 12.03 kB / 0.7952 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.3006, allocations: 60.19 kB / 0.7953 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006554/0.3012, allocations: 432 kB / 0.7957 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/0.3013, allocations: 11.94 kB / 0.7957 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.3013, allocations: 4 kB / 0.7957 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.3016, allocations: 100.2 kB / 0.7958 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.3016, allocations: 4 kB / 0.7958 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.3017, allocations: 0 / 0.7958 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.3017, allocations: 4 kB / 0.7958 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.3018, allocations: 39.97 kB / 0.7958 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009398/0.3028, allocations: 0.5238 MB / 0.7964 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003856/0.3032, allocations: 98.66 kB / 0.7964 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.652e-05/0.3032, allocations: 36.83 kB / 0.7965 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.3033, allocations: 4.031 kB / 0.7965 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/0.3035, allocations: 87.36 kB / 0.7966 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.3035, allocations: 0 / 0.7966 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003986/0.3039, allocations: 188.9 kB / 0.7967 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.704e-05/0.304, allocations: 110.8 kB / 0.7969 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.305, allocations: 0.8911 MB / 0.7977 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.3051, allocations: 33.7 kB / 0.7978 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.3053, allocations: 300 kB / 0.798 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.3054, allocations: 19.73 kB / 0.7981 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.3054, allocations: 13.72 kB / 0.7981 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.3055, allocations: 318 kB / 0.7984 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.803e-05/0.3056, allocations: 23.98 kB / 0.7984 GB, free: 488 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.89e-05/0.3057, allocations: 80.27 kB / 0.7985 GB, free: 392 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.3058, allocations: 65.7 kB / 0.7985 GB, free: 320 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3059, allocations: 0 / 0.7985 GB, free: 320 kB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002364/0.3061, allocations: 160.8 kB / 0.7987 GB, free: 152 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.3061, allocations: 8 kB / 0.7987 GB, free: 144 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3061, allocations: 7.938 kB / 0.7987 GB, free: 136 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.3062, allocations: 8.016 kB / 0.7987 GB, free: 128 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.451e-05/0.3062, allocations: 15.94 kB / 0.7987 GB, free: 112 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.3063, allocations: 3.938 kB / 0.7987 GB, free: 108 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.3064, allocations: 7.984 kB / 0.7987 GB, free: 100 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.3064, allocations: 4 kB / 0.7987 GB, free: 96 kB / 0.6075 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.0003325/0.3067, allocations: 316.1 kB / 0.799 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.131e-05/0.3068, allocations: 67.16 kB / 0.7991 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.3069, allocations: 73.98 kB / 0.7992 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3069, allocations: 8 kB / 0.7992 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.3069, allocations: 3.938 kB / 0.7992 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.307, allocations: 0 / 0.7992 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004098/0.3074, allocations: 381.4 kB / 0.7996 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3074, allocations: 0 / 0.7996 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.607e-05/0.3074, allocations: 11.98 kB / 0.7996 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3074, allocations: 0 / 0.7996 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.3075, allocations: 0 / 0.7996 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3075, allocations: 0 / 0.7996 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3075, allocations: 3.938 kB / 0.7996 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.3077, allocations: 196.2 kB / 0.7998 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.3079, allocations: 144.2 kB / 0.7999 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.99e-05/0.308, allocations: 4 kB / 0.7999 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.3081, allocations: 7.984 kB / 0.7999 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.3081, allocations: 7.938 kB / 0.7999 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.3082, allocations: 12.17 kB / 0.7999 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007419/0.3089, allocations: 0.6512 MB / 0.8006 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3089, allocations: 7.938 kB / 0.8006 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002827/0.3092, allocations: 55.98 kB / 0.8006 GB, free: 14.07 MB / 0.6231 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.001034/0.3103, allocations: 423.6 kB / 0.801 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.3105, allocations: 71.89 kB / 0.8011 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3105, allocations: 0 / 0.8011 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 8.715e-05/0.3106, allocations: 35.98 kB / 0.8011 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006418/0.3112, allocations: 140 kB / 0.8013 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.3128, allocations: 1.231 MB / 0.8025 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005844/0.3134, allocations: 0.9824 MB / 0.8034 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001192/0.3135, allocations: 42.28 kB / 0.8035 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.24e-05/0.3136, allocations: 19.44 kB / 0.8035 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/0.3136, allocations: 0 / 0.8035 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of Templates: time 0.01051/0.3241, allocations: 5.447 MB / 0.8088 GB, free: 5.91 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.pipe 2>&1) Environment - environmentSimulation: